Skip to content

Query Expansion

A technique where a search query is supplemented with synonyms and related terms to find more relevant results.

Why

A user writes 'machine', but documents use 'automobile'. Exact search finds nothing. Query expansion adds 'automobile, car, transport' and increases the chances of finding relevant results.

Methods of Expansion

  1. Synonyms — manually or from dictionaries;
  2. LLM-generation — the model adds related terms;
  3. Stemming — reducing words to their base form ('cats' → 'cat').

Difference from Query Rewriting

Query Expansion Query Rewriting
Essence Add words Re-formulate the question
Result Broader coverage More precise formulation

See Also

← All Terms