TATECHATLAS
◎ English
Artificial intelligence / Tip

Interpreting Azure AI Search Hybrid Scores: RRF, Small Values and Cross-Query Limits

Azure AI Search hybrid queries combine full-text and vector search using Reciprocal Rank Fusion (RRF). The @search.score field reflects this fusion, often appearing small due to RRF’s reciprocal rank weighting. This score cannot be directly compared across queries because it depends on the relative ranking within each query’s result set. Practical guidance includes using ranking order instead of absolute scores and understanding when semantic ranking alters the relevance signal.

On this page

In Azure AI Search hybrid queries, the @search.score is not a standalone relevance metric but the result of merging full-text (BM25) and vector search rankings via Reciprocal Rank Fusion (RRF). RRF assigns each document a score based on its position in both query result sets, then combines these reciprocal rank contributions rather than raw scores. This explains why scores like 0.033 appear small: RRF's reciprocal weighting produces values well below 1.0 regardless of how strongly a document matches. In the documented example response, the top result received a score of 0.0333 and the second result received 0.0325, showing the small gap between adjacent ranks. The key insight is that scores are relative: comparing 0.033 from one query to 0.035 from another is meaningless because each query's result set size and distribution differ. RRF's design ensures that the score reflects the ranking order of documents within that query, not an absolute measure of relevance across all possible queries. Semantic ranking (via @search.rerankerScore) is often preferred when absolute relevance is critical, as it applies machine-learning-based refinement post-RRF fusion. In the same documented response, the reranker scores were 2.52 and 2.11, providing a more interpretable signal. The limitation is that RRF's output is inherently query-dependent: the same document's score can vary between queries due to differing candidate pools and rank distributions. A document matching a vector query well might rank poorly in a full-text query with few matches, leading to a lower RRF score despite strong semantic relevance. Practitioners should focus on the ordering of results within a single query rather than comparing scores across queries. The trade-off is that RRF's simplicity (parallel execution, no retraining) is balanced by its lack of absolute interpretability, making it ideal for scenarios where relative ranking suffices but not for absolute relevance thresholds.

What @search.score represents in hybrid search

The @search.score in hybrid queries is the result of Reciprocal Rank Fusion (RRF), which merges rankings from parallel full-text (BM25) and vector search. Unlike standalone scores, it is not a raw similarity metric but a fused rank-based value. In the documented example response, the top result received a score of 0.0333 and the second result received 0.0325. These small values are characteristic of RRF's reciprocal weighting and do not indicate poor relevance. The exact formula is not publicly documented, but the observed magnitudes confirm that RRF produces scores well below 1.0 even for the highest-ranked documents.

This fusion process ensures that the score reflects the document's relative position within the query's candidate set, not an absolute relevance score across all possible queries. For instance, a document might rank highly in a vector query but poorly in a full-text query, leading to a lower RRF score despite strong semantic relevance. The key takeaway is that @search.score is a ranking metric, not an absolute relevance indicator.

Why the score is small and what RRF does

The small magnitude of @search.score (e.g., 0.033) stems from RRF's reciprocal rank weighting. When merging results from full-text and vector queries, each document's score is derived from its reciprocal rank in both result sets combined with a constant offset. In the documented example, the top result scored 0.0333 and the second scored 0.0325, showing that adjacent ranks produce very close values. This compression of the score range explains why scores often appear small, even if the underlying vector or BM25 scores are high. RRF's design prioritizes diversity and balance across result sets, ensuring that documents with strong matches in one query but weak in another are still ranked reasonably. The trade-off is that the score is inherently relative to the query's context, not an absolute measure of relevance.

Why scores cannot be compared across queries

Comparing @search.score values across different queries is invalid because RRF operates on the ranks within a single query’s result set. Each query’s candidate pool, rank distribution, and result size differ, making absolute score comparisons meaningless. For example, a score of 0.033 in one query might correspond to a document ranked 10th in a query with 100 results, while the same score in another query could reflect a document ranked 5th in a query with 20 results. This inconsistency arises because RRF’s score depends on the relative position within the query’s context, not the absolute relevance of the document. The limitation here is that the same document’s score can vary widely between queries due to differing candidate pools and rank distributions. For instance, a document matching a vector query well might rank poorly in a full-text query with few matches, leading to a low RRF score despite strong semantic relevance.

What to use instead of raw @search.score

Instead of relying on absolute @search.score values, focus on the ranking order of results within the same query. If semantic ranking is enabled, use @search.rerankerScore for a more stable relevance signal, as it applies machine learning-based refinement post-RRF fusion. Avoid adding an explicit orderby clause to preserve RRF-based ranking, as it will override relevance ordering. For example, in a hybrid query response, the @search.score values are small due to RRF’s reciprocal weighting, but the order of results within the query reflects the combined relevance of both search modalities. If semantic ranking is not enabled, the @search.score remains the only relevance metric, but its small magnitude is expected due to RRF’s design.

Applicability

  • Verify that @search.score is derived from RRF, not raw similarity scores, and understand that its magnitude is small due to reciprocal rank weighting.
  • Recognize that scores are relative to the query’s result set size and rank distribution, making cross-query comparisons invalid.
  • Use ranking order within the same query instead of absolute scores, and consider @search.rerankerScore for semantic ranking scenarios.
  • Avoid adding an explicit orderby clause to preserve RRF-based ranking, as it will override relevance ordering.

The primary limitation of Azure AI Search hybrid scores is their inherent query-dependency. @search.score reflects the relative ranking within a single query's result set, not an absolute measure of relevance across all possible queries. This means that comparing scores between different queries is meaningless, as each query's candidate pool, rank distribution, and result size differ. RRF's reciprocal weighting produces small scores even for highly relevant documents: in the documented example, the top result scored 0.0333 and the second scored 0.0325, with the exact magnitude depending on the RRF constant and the number of contributing result sets. This limitation is particularly relevant when using hybrid queries for scenarios requiring absolute relevance thresholds or cross-query comparisons. In such cases, practitioners should rely on the ranking order of results within a single query or use @search.rerankerScore for semantic ranking, which provides a more stable relevance signal.

Sources

  1. Microsoft Learn: vector search ↗
  2. Microsoft Learn: hybrid search ↗
Back to top ↑