Use an unstable algorithm for grenad::Sorter when possible

This commit is contained in:
Loïc Lecrenier
2022-09-13 10:40:37 +02:00
parent f8697075ea
commit 3794962330
14 changed files with 18 additions and 1 deletions

View File

@ -65,6 +65,7 @@ impl<'t, 'u, 'i> WordPrefixPositionDocids<'t, 'u, 'i> {
debug!("Computing and writing the word levels positions docids into LMDB on disk...");
let mut prefix_position_docids_sorter = create_sorter(
grenad::SortAlgorithm::Unstable,
merge_cbo_roaring_bitmaps,
self.chunk_compression_type,
self.chunk_compression_level,