Rowles.LeanLucene.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.
IndexCheckResult
Result of an Validate(MMapDirectory) call.
IndexRecovery
Lightweight crash recovery for LeanLucene 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 LeanLucene index stored in a MMapDirectory.