Rowles.LeanCorpus.Index
Namespaces
Classes
CommitFileFormat
On-disk format helpers for
segments_Ncommit files. Commits written by IndexWriter append a trailer of the form\n#crc32=<hex>\nafter the JSON body so torn writes can be detected on recovery. This helper centralises read/write so every parser strips and validates the trailer consistently.
IndexCheckIssue
Structured validation issue returned by Check(MMapDirectory, IndexCheckOptions?).
IndexCheckIssueCodes
Stable issue codes emitted by IndexValidator.
IndexCheckOptions
Options controlling index validation depth.
IndexCheckResult
Result of an Check(MMapDirectory, IndexCheckOptions?) call.
IndexRecovery
Lightweight crash recovery for LeanCorpus indices. On startup: validates the latest commit, falls back to prior generations on corruption, and cleans up orphaned segment files and temp files.
IndexRecovery.RecoveryResult
Result of crash recovery.
IndexValidator
Validates the structural integrity of a LeanCorpus index stored in a MMapDirectory.
Enums
IndexCheckSeverity
Severity of an index validation issue.
IndexOpenCompatibilityMode
Controls compatibility checks performed before opening an index.