Table of Contents

Internal classStaticInternal SortedDocValuesWriter

Namespace
Rowles.LeanCorpus.Codecs.DocValues
Assembly
Rowles.LeanCorpus.dll

Writes per-document string values in a column-stride format (.dvs). Layout (v2): [fieldName] [presenceByteCount: int32] [presenceBitmap: bytes if count > 0] [docCount: int32] [ordCount: int32] [ord table: length-prefixed strings] [ords: packed ints]. Deduplicates values via an ordinal table. Null entries in the values array indicate absent docs.

internal static class SortedDocValuesWriter
SortedDocValuesWriter

Public method Write(string, IReadOnlyDictionary<string, string?[]>, int, bool)

Internal methodInternal WriteFieldBlock(IndexOutput, string, string?[], int)

Append a single field's column to an already-opened .dvs output. Used by the streaming merge path so columns can be released as they are flushed.