Still limit to max hits

This commit is contained in:
Mubelotix 2025-07-01 18:33:09 +02:00
parent dedae94102
commit 600178c5ab
No known key found for this signature in database
GPG key ID: 0406DF6C3A69B942
6 changed files with 24 additions and 1 deletions

View file

@ -1020,6 +1020,7 @@ pub fn prepare_search<'t>(
.unwrap_or(DEFAULT_PAGINATION_MAX_TOTAL_HITS);
search.exhaustive_number_hits(is_finite_pagination);
search.max_total_hits(Some(max_total_hits));
search.scoring_strategy(
if query.show_ranking_score
|| query.show_ranking_score_details