mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Use an unstable algorithm for grenad::Sorter when possible
This commit is contained in:
parent
f8697075ea
commit
3794962330
14 changed files with 18 additions and 1 deletions
|
@ -99,6 +99,7 @@ impl<'a, 'i> Transform<'a, 'i> {
|
|||
|
||||
// We initialize the sorter with the user indexing settings.
|
||||
let original_sorter = create_sorter(
|
||||
grenad::SortAlgorithm::Stable,
|
||||
merge_function,
|
||||
indexer_settings.chunk_compression_type,
|
||||
indexer_settings.chunk_compression_level,
|
||||
|
@ -108,6 +109,7 @@ impl<'a, 'i> Transform<'a, 'i> {
|
|||
|
||||
// We initialize the sorter with the user indexing settings.
|
||||
let flattened_sorter = create_sorter(
|
||||
grenad::SortAlgorithm::Stable,
|
||||
merge_function,
|
||||
indexer_settings.chunk_compression_type,
|
||||
indexer_settings.chunk_compression_level,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue