{
 "schema_version": 1,
 "generated": "2026-10-31",
 "id": "qdrant-qdrant--combine-keyword-and-semantic-search",
 "repo": "qdrant/qdrant",
 "repo_url": "https://github.com/qdrant/qdrant",
 "repo_slug": "qdrant-qdrant",
 "title": "Combine keyword and semantic search in one query",
 "page_title": "How to combine keyword and semantic search in one query with Qdrant",
 "summary": "Use hybrid search with dense and sparse vectors so results match both meaning and exact terms.",
 "who": "A team whose semantic search misses exact product codes and names that keyword search would catch.",
 "problem": "Pure semantic search is fuzzy on exact terms, and pure keyword search misses paraphrases.",
 "outcome": "One query that blends semantic and keyword matches, merged with a fusion strategy such as RRF.",
 "steps": [
  "Run Qdrant locally or on Qdrant Cloud",
  "Store a dense vector for meaning and a sparse vector for full-text search on each point",
  "Query both vectors in a single request and merge results with Reciprocal Rank Fusion",
  "Tune results with Maximal Marginal Relevance or the Relevance Feedback Query if needed",
  "Install the Qdrant agent skills so your coding assistant can help with hybrid search and quantization choices"
 ],
 "agent_prompt": "Using qdrant/qdrant, set up a collection with dense and sparse vectors for <dataset>, run hybrid queries merged with Reciprocal Rank Fusion, and compare the top 5 results against dense-only search for <queries>.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The README describes hybrid search but leaves the query syntax to the docs and client libraries.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "rust",
 "requirements": [
  "Docker for the local server, or a free tier cluster on Qdrant Cloud",
  "A client library, for example the Python client",
  "Embeddings from a model of your choice"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/qdrant-qdrant/combine-keyword-and-semantic-search/",
 "md": "https://dedupedai.com/use-cases/qdrant-qdrant/combine-keyword-and-semantic-search/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/qdrant-qdrant--combine-keyword-and-semantic-search.json",
 "api_version": "v1"
}
