apply review comment

This commit is contained in:
Tamo 2024-07-17 16:13:40 +02:00
parent 2af9481804
commit 56b60ec7a0
2 changed files with 2 additions and 9 deletions

View File

@ -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| {

View File

@ -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);