mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 06:44:27 +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
|
let index = index_scheduler
|
||||||
.index(&index_uid)
|
.index(&index_uid)
|
||||||
.map_err(|err| {
|
.map_err(|err| {
|
||||||
|
@ -473,14 +473,8 @@ pub fn perform_federated_search(
|
|||||||
None => TimeBudget::default(),
|
None => TimeBudget::default(),
|
||||||
};
|
};
|
||||||
|
|
||||||
let (mut search, _is_finite_pagination, _max_total_hits, _offset) = prepare_search(
|
let (mut search, _is_finite_pagination, _max_total_hits, _offset) =
|
||||||
&index,
|
prepare_search(&index, &rtxn, &query, &search_kind, time_budget, features)?;
|
||||||
&rtxn,
|
|
||||||
&query,
|
|
||||||
&search_kind,
|
|
||||||
time_budget,
|
|
||||||
index_scheduler.features(),
|
|
||||||
)?;
|
|
||||||
|
|
||||||
search.scoring_strategy(milli::score_details::ScoringStrategy::Detailed);
|
search.scoring_strategy(milli::score_details::ScoringStrategy::Detailed);
|
||||||
search.offset(0);
|
search.offset(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user