EAI Technologies interview question

How to design a search engine?