Get the filename of the current segments_N file
in the directory.
Namespace: Lucene.Net.IndexAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public static string GetCurrentSegmentFileName( Directory directory ) |
Visual Basic |
---|
Public Shared Function GetCurrentSegmentFileName ( _ directory As Directory _ ) As String |
Visual C++ |
---|
public: static String^ GetCurrentSegmentFileName( Directory^ directory ) |
Parameters
- directory
- Type: Lucene.Net.Store..::..Directory
-- directory to search for the latest segments_N file
Return Value
[Missing <returns> documentation for "M:Lucene.Net.Index.SegmentInfos.GetCurrentSegmentFileName(Lucene.Net.Store.Directory)"]