mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Add stop words on query
This commit is contained in:
parent
dc6907e748
commit
559c2f8907
3 changed files with 11 additions and 0 deletions
|
@ -171,6 +171,9 @@ pub fn apply_stop_words_update(
|
|||
)?;
|
||||
return Ok(true)
|
||||
}
|
||||
|
||||
let stop_words_fst = fst::Set::from_iter(stop_words)?;
|
||||
index.main.put_words_fst(writer, &stop_words_fst)?;
|
||||
Ok(false)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue