Files
tantivy/columnar/src
Paul Masurel a2e8982eb1 Support merging plain-encoded columns
`merge_columnar_with_codecs` takes a codec for each required column.
`merge_columnar` keeps its signature and requires dictionary columns.

A merged `Str` or `Bytes` column is plain if one of its inputs is plain, or
if it is required with the plain codec. Dictionary encoded inputs are then
converted, reading their values from their dictionary. A plain column is
never converted to a dictionary column.

Values are written with `PlainColumnSerializer`, in the merged row order: in
input order for a stacked merge, row by row for a shuffled merge.

The codec of each merged column is decided before opening the columns, so
that the merged columns are serialized in the order of their key codes.

The tantivy fast field merge passes the codec of each text and bytes fast
field from the schema, so a plain fast field stays plain after a merge, even
without any value.
2026-11-27 14:52:05 +01:00
..
2024-11-29 16:08:21 +08:00
2026-11-27 14:52:05 +01:00
2024-10-10 09:55:37 +08:00
2023-01-07 17:37:00 +09:00