meilisearch/milli/src/update/index_documents
bors[bot] 15d478cf4d
Merge #635
635: Use an unstable algorithm for `grenad::Sorter` when possible r=Kerollmops a=loiclec

# Pull Request
## What does this PR do?

Use an unstable algorithm to sort the internal vector used by `grenad::Sorter` whenever possible to speed up indexing.

In practice, every time the merge function creates a `RoaringBitmap`, we use an unstable sort. For every other merge function, such as `keep_first`, `keep_last`, etc., a stable sort is used.


Co-authored-by: Loïc Lecrenier <loic@meilisearch.com>
2022-09-14 12:00:52 +00:00
..
extract Use an unstable algorithm for grenad::Sorter when possible 2022-09-13 14:49:53 +02:00
helpers Use an unstable algorithm for grenad::Sorter when possible 2022-09-13 14:49:53 +02:00
enrich.rs fix: Remove whitespace trimming during document id validation 2022-08-03 11:38:40 +02:00
mod.rs Merge #635 2022-09-14 12:00:52 +00:00
transform.rs Use an unstable algorithm for grenad::Sorter when possible 2022-09-13 14:49:53 +02:00
typed_chunk.rs Avoid using too much memory when indexing facet-exists-docids 2022-07-19 14:42:35 +02:00