Table of Contents

Internal classStaticInternal 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

Public methodStatic Write(string, IReadOnlyDictionary<string, double[]>, int, IReadOnlyDictionary<string, IReadOnlySet<int>>?, bool)
Internal methodStaticInternal 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.