mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Generalize usage of CboRoaringBitmap codec to ease the use
This commit is contained in:
parent
b541d48847
commit
df9e5c8651
11 changed files with 44 additions and 54 deletions
|
@ -156,7 +156,7 @@ pub(crate) fn write_typed_chunk_into_index(
|
|||
wtxn,
|
||||
index_is_empty,
|
||||
|value, _buffer| Ok(value),
|
||||
merge_roaring_bitmaps,
|
||||
merge_cbo_roaring_bitmaps,
|
||||
)?;
|
||||
|
||||
let exact_word_docids_iter = unsafe { as_cloneable_grenad(&exact_word_docids_reader) }?;
|
||||
|
@ -166,7 +166,7 @@ pub(crate) fn write_typed_chunk_into_index(
|
|||
wtxn,
|
||||
index_is_empty,
|
||||
|value, _buffer| Ok(value),
|
||||
merge_roaring_bitmaps,
|
||||
merge_cbo_roaring_bitmaps,
|
||||
)?;
|
||||
|
||||
let word_fid_docids_iter = unsafe { as_cloneable_grenad(&word_fid_docids_reader) }?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue