# What is Advanced RAG? Definition and meaning

Extends basic retrieval with pre-retrieval steps such as query rewriting and post-retrieval steps such as reranking and compression.

## Definition

**Advanced RAG**: Extends basic retrieval with pre-retrieval steps such as query rewriting and post-retrieval steps such as reranking and compression.

In short: RAG with query rewriting, hybrid search and reranking.

## When it is used

Improving the precision and recall of retrieval in production systems.

## Learn more

The full guide to **[Advanced RAG](/tools/advanced-rag)** explains how it works, when to use it and how it compares with the alternatives, with examples. The [glossary](/glossary) lists every term on the site from A to Z.

Previous term: [Adapters](/glossary/adapters) · Next term: [Agent harness](/glossary/agent-harness)
