Database / Weaviate Vector database Interview questions
Explain the lifecycle of a hybrid search query in Weaviate?
A hybrid search request involves running two independent searches internally and then fusing their results, all within the scope of handling that single client call.
When a hybrid query arrives, Weaviate first embeds the query text using the collection's configured vectorizer (unless a raw vector was supplied directly), then runs a vector similarity search against the vector index and, in parallel, a BM25 keyword search against the inverted index. Each produces its own independently ranked list of candidate objects.
Those two lists are then combined using the configured fusion algorithm (rankedFusion or relativeScoreFusion), weighted according to the alpha parameter, and the resulting single fused ranking is what's actually returned to the client as the final top-K results, meaning the client never sees the two intermediate result lists separately, only the merged outcome.
More Related questions...