mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-07-04 00:00:46 +00:00
Restores index sorting: an index can be physically ordered by a fast field (IndexSettings::sort_by_field), applied both on single-segment writes (stream to TempStore, then resort into Store) and on cross-segment merges (disjunct fast path, otherwise a full k-merge with a generated doc-id mapping). Motivation (downstream join / sortedness work): * https://github.com/paradedb/paradedb/issues/2997 * https://github.com/paradedb/paradedb/issues/3053 Re-expressed against current upstream APIs: no merge CancelSentinel, MergeOptimizedInvertedIndexReader, or ignore_store plumbing.