Skip to main content
  • Type: boolean
  • Default: false
  • Scope: search
Controls how filter scores are aggregated when using filter scoring.
Only applies to OR combinations of filters (not AND).

Options

true
The total score is the sum of all matched filter scores.
false
The total score is the maximum score among all matched filters.

Example

Current API clients

var response = await client.SearchSingleIndexAsync<Hit>(
  "ALGOLIA_INDEX_NAME",
  new SearchParams(new SearchParamsObject { Query = "query", SumOrFiltersScores = true })
);
index.Search(new Query("query")
{
    SumOrFiltersScores = true
});
I