mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 03:47:02 +02:00
Update milli/src/search/criteria/attribute.rs
Co-authored-by: Clément Renault <clement@meilisearch.com>
This commit is contained in:
parent
329bd4a1bb
commit
3794ffc952
1 changed files with 3 additions and 1 deletions
|
@ -496,7 +496,9 @@ fn set_compute_candidates<'t>(
|
|||
let branch_rank = branch.compute_rank();
|
||||
// if current is worst than best we break to return
|
||||
// candidates that correspond to the best rank
|
||||
if let Some((best_rank, _)) = final_candidates { if branch_rank > best_rank { break; } }
|
||||
if let Some((best_rank, _)) = final_candidates {
|
||||
if branch_rank > best_rank { break }
|
||||
}
|
||||
let _left = branch.last_result.0;
|
||||
let candidates = take(&mut branch.last_result.2);
|
||||
if candidates.is_empty() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue