mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-22 21:04:27 +01:00
Use the right field id to write the string facet values FST
This commit is contained in:
parent
ed0ff47551
commit
e9a3029c30
@ -169,7 +169,7 @@ impl<'i> FacetsUpdate<'i> {
|
|||||||
current_fst = match current_fst.take() {
|
current_fst = match current_fst.take() {
|
||||||
Some((fid, fst_builder)) if fid != field_id => {
|
Some((fid, fst_builder)) if fid != field_id => {
|
||||||
let fst = fst_builder.into_set();
|
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::SetBuilder::memory()))
|
||||||
}
|
}
|
||||||
Some((field_id, fst_builder)) => Some((field_id, fst_builder)),
|
Some((field_id, fst_builder)) => Some((field_id, fst_builder)),
|
||||||
|
Loading…
Reference in New Issue
Block a user