

ParentBitSet
- Namespace
- Rowles.LeanLucene.Index.Segment
- Assembly
- Rowles.LeanLucene.dll
A bitset tracking which document IDs within a segment are parent documents. Used by the block-join indexing pattern where child documents are stored immediately before their parent document.
internal sealed class ParentBitSet
ParentBitSet
ParentBitSet(int)
Length
IsParent(int)
Returns true if the given doc ID is a parent document.
NextParent(int)
Returns the next parent doc ID at or after docId,
or -1 if no parent exists at or beyond that position.
PrevParent(int)
Returns the previous parent doc ID strictly before docId,
or -1 if no parent exists before that position.
ReadFrom(string)
Reads a bitset from a binary file (.pbs).
Set(int)
Marks the given doc ID as a parent document.
WriteTo(string)
Writes the bitset to a binary file (.pbs).