mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Use the right field id to write the string facet values FST
This commit is contained in:
parent
ed0ff47551
commit
e9a3029c30
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ impl<'i> FacetsUpdate<'i> {
|
|||
current_fst = match current_fst.take() {
|
||||
Some((fid, fst_builder)) if fid != field_id => {
|
||||
let fst = fst_builder.into_set();
|
||||
text_fsts.push((field_id, fst));
|
||||
text_fsts.push((fid, fst));
|
||||
Some((field_id, fst::SetBuilder::memory()))
|
||||
}
|
||||
Some((field_id, fst_builder)) => Some((field_id, fst_builder)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue