mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-24 05:30:16 +01:00
Fix bugs in asc/desc criterion and facet indexing
This commit is contained in:
parent
a7201ece04
commit
afdf87f6f7
@ -197,9 +197,10 @@ fn facet_ordered<'t>(
|
||||
field_id,
|
||||
candidates.clone(),
|
||||
)?;
|
||||
|
||||
let string_iter = make_iter(
|
||||
rtxn,
|
||||
index.facet_id_f64_docids.remap_key_type::<FacetKeyCodec<MyByteSlice>>(),
|
||||
index.facet_id_string_docids.remap_key_type::<FacetKeyCodec<MyByteSlice>>(),
|
||||
field_id,
|
||||
candidates,
|
||||
)?;
|
||||
|
@ -142,7 +142,7 @@ pub(crate) fn data_from_obkv_documents(
|
||||
indexer,
|
||||
lmdb_writer_sx.clone(),
|
||||
extract_facet_string_docids,
|
||||
merge_roaring_bitmaps, // TODO: check (cbo?)
|
||||
merge_cbo_roaring_bitmaps, // TODO: check (cbo?)
|
||||
TypedChunk::FieldIdFacetStringDocids,
|
||||
"field-id-facet-string-docids",
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user