

NumericDocValuesWriter
- Namespace
- Rowles.LeanCorpus.Codecs.DocValues
- Assembly
- Rowles.LeanCorpus.dll
Writes per-document numeric values in a compact column-stride format (.dvn). Layout per field (v2): [fieldName] [presenceByteCount: int32] [presenceBitmap: bytes if count > 0] [docCount: int32] [minValue: int64] [bitsPerValue: byte] [packed values...]. Version 1 (legacy): no presence block. Version 2+: presence block with 0 meaning all docs present.
internal static class NumericDocValuesWriter
NumericDocValuesWriter
Methods
WriteFieldBlock(IndexOutput, string, double[], int, IReadOnlySet<int>?)
Append a single field's column to an already-opened .dvn output. Used by the streaming merge path so columns can be filled and released one at a time.