Overview
Blending semantic similarity search with structural graph traversal — using each for what it's actually good at.
Why it matters
Vector search and graph traversal solve different problems, and hybrid retrieval uses each for its strength instead of forcing one to do the other's job:
- Vector search finds needles: given a fuzzy natural-language query, it's excellent at locating the specific entities or facts that are semantically closest to what the user asked, even if they phrase it very differently from the source text.
- Graph traversal pulls threads: once you know which entity node the query is 'about', traversal follows the typed edges outward — one hop, two hops, three hops — to assemble facts that are connected but never appear near each other in any single chunk of text.
A hybrid pipeline chains them: (1) embed the query and use vector search to land on the best entry-point node(s) in the graph — e.g. the query 'who did Acme's biggest acquisition compete with?' lands on the Acme node; (2) from there, traverse acquired -> competesWith edges to assemble the multi-hop answer that no single chunk contains. Vector search alone would return text about Acme but couldn't compose the two-hop relationship; graph traversal alone has no way to find the right starting node from a vague natural-language query in the first place. Neither half works without the other — that's the actual meaning of 'hybrid'.
