Current version number from segments file.
Namespace: Lucene.Net.IndexAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public static long ReadCurrentVersion( Directory directory ) |
Visual Basic |
---|
Public Shared Function ReadCurrentVersion ( _ directory As Directory _ ) As Long |
Visual C++ |
---|
public: static long long ReadCurrentVersion( Directory^ directory ) |
Parameters
- directory
- Type: Lucene.Net.Store..::..Directory
[Missing <param name="directory"/> documentation for "M:Lucene.Net.Index.SegmentInfos.ReadCurrentVersion(Lucene.Net.Store.Directory)"]
Return Value
[Missing <returns> documentation for "M:Lucene.Net.Index.SegmentInfos.ReadCurrentVersion(Lucene.Net.Store.Directory)"]