

LiveDocs
- Namespace
- Rowles.LeanCorpus.Index.Segment
- Assembly
- Rowles.LeanCorpus.dll
Per-segment deletion tracker using a Roaring bitmap of deleted document IDs. Sparse deletions use very little memory compared to the previous BitArray approach.
internal sealed class LiveDocs
LiveDocs
LiveDocs(int)

DeletedBitmap
Returns the underlying deleted-docs bitmap for set operations.
DeletedCount
LiveCount
MaxDoc
Delete(int)
Deserialise(string, int)
IsLive(int)
Serialise(string, LiveDocs, bool)
Writes live-doc state to filePath atomically.
Writes to a temporary file, optionally fsyncs, then renames over the target.