mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Still limit to max hits
This commit is contained in:
parent
dedae94102
commit
600178c5ab
6 changed files with 24 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue