What is information retrieval?

Information retrieval is the computer science field studying indexing, query processing, ranking and evaluation methods for finding documents or passages that meet an information need, usually in large unstructured collections; search engines, enterprise search and the retrieval step of RAG rest on its methods.

Unlike retrieval, the act of finding candidates for a query, information retrieval also covers how the index is built, how results are ranked and how quality is measured. Information extraction does not find documents but pulls structured information from within them.

Topic
Embeddings, document processing and RAG
Also known as
IR

How information retrieval works

  1. Documents are represented with word-based inverted indexes, embedding vectors or both.
  2. The query is turned into the same representation, rewritten or expanded if needed.
  3. Candidates are found and ranked through keyword scores or vector similarity; top results can be refined by a reranking model.
  4. Results are measured against question sets with relevance labels; methods are compared with measures such as precision and recall.

In more detail

Lexical, dense, learned sparse and hybrid retrieval

Production retrieval commonly fuses lexical scoring (BM25), dense bi-encoder embeddings and learned sparse representations (such as SPLADE) or late-interaction models (such as ColBERT). Combining exact-match and semantic rankings via Reciprocal Rank Fusion (RRF) handles both rare identifiers like policy codes and conceptual queries.

Multi-stage retrieval and reranking architecture

To balance latency and accuracy, retrieval typically operates in stages: a fast first-stage retriever (inverted index or approximate nearest neighbour search such as HNSW) narrows millions of chunks to top-100 candidates, which a slower cross-encoder or LLM reranker then rescores using full query-document attention.

Ranking-oriented evaluation metrics

Beyond basic precision and recall, ranking quality is assessed with position-aware and graded metrics such as nDCG@k (Normalised Discounted Cumulative Gain), MRR (Mean Reciprocal Rank) and Recall@k. Choosing the right metric depends on whether the user needs one exact answer (MRR) or comprehensive evidence for RAG synthesis (Recall@k and nDCG@k).

Morphology and chunking in agglutinative languages such as Turkish

Agglutinative languages like Turkish attach multiple suffixes to a single root, causing naive whitespace tokenisation and basic stemmers to miss valid keyword matches. Effective Turkish enterprise IR combines morphological normalisation or subword tokenisation with multilingual embeddings evaluated on domain-specific Turkish benchmarks.

Commonly confused terms

TermHow it differs
Information extractionInformation retrieval finds and ranks relevant documents or chunks; information extraction parses inside those documents to output structured fields and relations matching a schema.
Structured database queryingDatabase querying performs deterministic exact or structured filtering over predefined relational schemas, while information retrieval computes graded relevance scores across largely unstructured text collections.

Why information retrieval matters for on-premises AI

An in-house AI assistant answers correctly only if it first finds the right document, so information retrieval methods are the foundation of RAG quality. Decades of work in the field, such as word-based ranking, query expansion and evaluation methods, are used alongside newer embedding-based methods. Comparisons across domains show no single method is best on every collection, so methods are chosen using the organisation's own documents and questions.

ON-PREMISES EXAMPLE

A bank's internal audit team measures the system searching its policy archive with a test set built from past queries, comparing keyword, semantic and hybrid methods to pick the best performer.

Common questions

How does information retrieval differ from retrieval?

Retrieval is finding candidates for a query. Information retrieval is the whole field, also covering indexing, ranking and evaluation.

How does information retrieval relate to RAG?

RAG's retrieval step uses information retrieval methods. If retrieval quality is low, the model's answer is weak too.

Sources

In the glossary: Glossary, E to L

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.