mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-30 09:04:59 +08:00
Fix remove count
This commit is contained in:
parent
9640976c79
commit
bff9653050
@ -454,7 +454,7 @@ fn create_query_tree(
|
||||
|
||||
let mut operation_children = Vec::new();
|
||||
let mut query = query.to_vec();
|
||||
for _ in 0..remove_count {
|
||||
for _ in 0..=remove_count {
|
||||
let pos = match optional_words {
|
||||
TermsMatchingStrategy::All => return ngrams(ctx, authorize_typos, &query, false),
|
||||
TermsMatchingStrategy::Any => {
|
||||
|
Loading…
Reference in New Issue
Block a user