Parse the generation off the segments file name and
return it.
Namespace: Lucene.Net.IndexAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public static long GenerationFromSegmentsFileName( string fileName ) |
Visual Basic |
---|
Public Shared Function GenerationFromSegmentsFileName ( _ fileName As String _ ) As Long |
Visual C++ |
---|
public: static long long GenerationFromSegmentsFileName( String^ fileName ) |
Parameters
- fileName
- Type: System..::..String
[Missing <param name="fileName"/> documentation for "M:Lucene.Net.Index.SegmentInfos.GenerationFromSegmentsFileName(System.String)"]
Return Value
[Missing <returns> documentation for "M:Lucene.Net.Index.SegmentInfos.GenerationFromSegmentsFileName(System.String)"]