EAI Technologies interview question

How to design a Search engine?