liveBook · Manning

Query expansion

Query expansion is an information-retrieval technique that adds related terms, variants, or reformulations to a query to improve retrieval.

How 2 Manning books explain it

AI-Powered Search

Query expansion is a retrieval technique that augments a query with additional terms or representations to improve matching with relevant content.

How it is used
Improves retrieval or ranking when relevant documents use terms related to, rather than identical to, the user's query.
How deep it goes
Works through SKG traversal, weighted query construction, and alternative matching requests; introduces SPLADE-style output without building its model.
Examples
Uses boosted “advil” alternatives, a “vibranium” SKG traversal, category-specific senses of “chef,” and SPLADE++ token outputs.
What you can do after
Apply it via SKG traversal and search requests to generate weighted terms and choose matching or ranking strategies.

Read how AI-Powered Search explains query expansion →

The Art of AI Product Development

A retrieval technique that adds terms, variants, or related subqueries to an original search query to improve retrieval results.

How it is used
Improves RAG retrieval when users submit vague or poorly structured questions.
How deep it goes
Explains rewriting and expansion through concrete subqueries, but stops short of implementation details.
Examples
Uses AI-trends questions, SaaS platforms, workflow automation, and classification by technical, market, or integration intent.
What you can do after
Apply query expansion to turn broad user questions into targeted retrieval subqueries.

Read how The Art of AI Product Development explains query expansion →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.