Information retrieval (IR) is the activity of obtaining information resources relevant to an information need from a collection of information resources (documents).
Searches can be based on full-text or other content-based indexing. Information retrieval is the science of searching for information in a document, searching for documents themselves, and also searching for metadata that describes data, and for databases of texts, images or sounds.