Apache Lucene.Net 2.4.0 Class Library API

SegmentInfos.GenerationFromSegmentsFileName Method 

Parse the generation off the segments file name and return it.

public static long GenerationFromSegmentsFileName(
   string fileName
);

See Also

SegmentInfos Class | Lucene.Net.Index Namespace