EAI Technologies Interview Question

How would you design a search engine?