EAI Technologies interview question

How would you design a search engine?