What is the function of "indexer" part of the Google search engine?

Q) What is the function of "indexer" part of the Google search engine?

Answers:
• It helps to retrieve web pages from the world wide web
• It helps to gather information from other search engines
• It helps to sort the documents that Google has retrieved
• It helps to generate meaningful results based upon the user's search term