Apache Lucene.Net 2.4.0 Class Library API

SegmentInfos.GetCurrentSegmentFileName Method

Get the segments_N filename in use by this segment infos.

Overload List

Get the segments_N filename in use by this segment infos.

public string GetCurrentSegmentFileName();

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

public static string GetCurrentSegmentFileName(Directory);

Get the filename of the current segments_N file from a list of files.

public static string GetCurrentSegmentFileName(string[]);

See Also

SegmentInfos Class | Lucene.Net.Index Namespace