Apache Lucene.Net 2.4.0 Class Library API

SegmentInfos.GetCurrentSegmentFileName Method (Directory)

Get the filename of the current segments_N file in the directory.

public static string GetCurrentSegmentFileName(
   Directory directory
);

Parameters

directory
-- directory to search for the latest segments_N file

See Also

SegmentInfos Class | Lucene.Net.Index Namespace | SegmentInfos.GetCurrentSegmentFileName Overload List