Get the generation (N) of the current segments_N file from a list of files.

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public static long GetCurrentSegmentGeneration(
	string[] files
)
Visual Basic
Public Shared Function GetCurrentSegmentGeneration ( _
	files As String() _
) As Long
Visual C++
public:
static long long GetCurrentSegmentGeneration(
	array<String^>^ files
)

Parameters

files
Type: array<System..::..String>[]()[][]
-- array of file names to check

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Index.SegmentInfos.GetCurrentSegmentGeneration(System.String[])"]

See Also