Skip to main content
  • Type: boolean
  • Default: false
  • Scope: search
The getRankingInfo parameter adds a _rankingInfo object to each result (hit) in the search response. This object contains detailed metadata about how Algolia ranked the result, including scores from ranking criteria.

_rankingInfo

Object with details about ranking of each result.

Example

Current API clients

index.search(
  new Query("query")
    .GetRankingInfo(true)
);
index.search(
  new Query("query")
    .GetRankingInfo(true)
);
I