mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-22 12:54:26 +01:00
apply review comment
This commit is contained in:
parent
2af9481804
commit
56b60ec7a0
@ -112,7 +112,6 @@ pub async fn multi_search_with_post(
|
||||
));
|
||||
}
|
||||
|
||||
let features = index_scheduler.features();
|
||||
let index = index_scheduler
|
||||
.index(&index_uid)
|
||||
.map_err(|err| {
|
||||
|
@ -473,14 +473,8 @@ pub fn perform_federated_search(
|
||||
None => TimeBudget::default(),
|
||||
};
|
||||
|
||||
let (mut search, _is_finite_pagination, _max_total_hits, _offset) = prepare_search(
|
||||
&index,
|
||||
&rtxn,
|
||||
&query,
|
||||
&search_kind,
|
||||
time_budget,
|
||||
index_scheduler.features(),
|
||||
)?;
|
||||
let (mut search, _is_finite_pagination, _max_total_hits, _offset) =
|
||||
prepare_search(&index, &rtxn, &query, &search_kind, time_budget, features)?;
|
||||
|
||||
search.scoring_strategy(milli::score_details::ScoringStrategy::Detailed);
|
||||
search.offset(0);
|
||||
|
Loading…
Reference in New Issue
Block a user