mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-23 13:10:06 +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…
x
Reference in New Issue
Block a user