Table of Contents

Public namespace Rowles.LeanLucene.Index

Namespaces

Public namespace Rowles.LeanLucene.Index.Indexer
Public namespace Rowles.LeanLucene.Index.Segment

Classes

Internal classInternal CommitFileFormat

On-disk format helpers for segments_N commit files. Commits written by IndexWriter append a trailer of the form \n#crc32=<hex>\n after 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.

Public class IndexCheckResult

Result of an Validate(MMapDirectory) call.

Public class 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.

Public class IndexRecovery.RecoveryResult

Result of crash recovery.

Public class IndexValidator

Validates the structural integrity of a LeanLucene index stored in a MMapDirectory.