Skip to main content
Query variation fusion generates slight perturbations of a query vector and searches with each variation. Fusing the results reduces sensitivity to the exact query representation and improves the robustness of retrieval. This approach is useful when small changes in the query vector can lead to different result rankings. The example below creates four variations of a base query vector by adding small amounts of random noise, searches with each variation, and then applies DBSF to combine the results into a single ranked list.
Each fused result includes these fields:
  • id: The unique identifier of the matching point
  • score: Normalized fused score from distribution-based fusion across all query variations
  • payload: Metadata object from the matching point
Query variation fusion is effective when:
  • Small perturbations in embedding space lead to different result rankings
  • You want more stable, reproducible search results
  • The query embedding may not perfectly capture the user’s intent