Companion
Properties
Functions
Parse the generation off the segments file name and return it.
Returns infoStream.
Get the generation of the most recent commit to the list of index files (N in the segments_N file).
Get the generation of the most recent commit to the index in this directory (N in the segments_N file).
Get the filename of the segments_N file for the most recent commit in the list of index files.
Get the filename of the segments_N file for the most recent commit to the index in this Directory.
Read a particular segmentFileName. Note that this may throw an IOException if a commit is in process.
Read the commit from the provided ChecksumIndexInput.
Find the latest commit (segments_N file) and load all SegmentCommitInfos.
If non-null, information about retries when loading the segments file will be printed to this.