mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-11-20 17:44:15 +00:00
* Make the onpair dependency optional behind a `plain_codec` feature OnPair16 compresses the blocks of plain-encoded Str and Bytes columns. The columnar writer does not emit plain columns yet, so the dependency is not used in practice. The new `plain_codec` feature (tantivy and tantivy-columnar) enables it. It is on by default in tantivy and off by default in tantivy-columnar, like `zstd-compression`. Without the feature, plain blocks are always written raw, and reading an OnPair16 block returns an `Unsupported` io error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Gate the whole plain module behind `plain_codec` Instead of gating OnPair16 inside the plain module, gate the module itself, the `DynamicColumn::PlainBytes`/`PlainStr` variants and their match arms. Without the feature, opening or writing a plain-encoded column panics. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>