Apache Lucene.Net 2.4.0 Class Library API

SegmentInfos.GetNextSegmentFileName Method 

Get the next segments_N filename that will be written.

public string GetNextSegmentFileName();

See Also

SegmentInfos Class | Lucene.Net.Index Namespace