
IndexSnapshot
- Namespace
- Rowles.LeanLucene.Index.Segment
- Assembly
- Rowles.LeanLucene.dll
A point-in-time, read-only snapshot of the committed segments. Holds segment IDs so callers can open readers or back up files without risk of segments being merged away.
public sealed class IndexSnapshot
IndexSnapshot

IndexSnapshot(int, IReadOnlyList<SegmentInfo>)
CommitGeneration
Unique generation of the commit this snapshot represents.
Segments
Segment infos captured at snapshot time (defensive copy).
TakenAtUtc
UTC timestamp when the snapshot was taken.