mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-25 22:34:28 +01:00
Simplify the check to decide to stop a loop
This commit is contained in:
parent
febea735ca
commit
1693d1a311
@ -78,7 +78,7 @@ pub fn compute_docids(
|
||||
continue;
|
||||
}
|
||||
} else if let Some(left_word_docids) = ctx.word_docids(Some(universe), left_word)? {
|
||||
if universe.is_disjoint(&left_word_docids) {
|
||||
if left_word_docids.is_empty() {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user