Table of Contents

Internal classStaticInternal BKDWriter

Namespace
Rowles.LeanLucene.Codecs.Bkd
Assembly
Rowles.LeanLucene.dll

Writes a 1-dimensional BKD tree for numeric point values, enabling O(log N + results) range lookups. File format (.bkd): [fieldCount:int32] per field: [fieldName:string] [nodeCount:int32] [nodes...] Each leaf stores sorted (value, docId) pairs; internal nodes store split values.

internal static class BKDWriter
BKDWriter

Fields

Public fieldConstant DefaultMaxLeafSize

Default max leaf size for BKD tree nodes.

Methods

Internal methodStaticInternal Write(string, Dictionary<string, List<(double Value, int DocId)>>, int)