IBM interview question

How would you design a search engine, what components does it have?