Apache Lucene.Net 2.4.0 Class Library API

SegmentInfos.GetCurrentSegmentGeneration Method

Get the generation (N) of the current segments_N file in the directory.

Overload List

Get the generation (N) of the current segments_N file in the directory.

public static long GetCurrentSegmentGeneration(Directory);

Get the generation (N) of the current segments_N file from a list of files.

public static long GetCurrentSegmentGeneration(string[]);

See Also

SegmentInfos Class | Lucene.Net.Index Namespace