Advanced: set how many times to try incrementing the gen when loading the segments file. This only runs if the primary (listing directory) and secondary (opening segments.gen file) methods fail to find the segments file.

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

Syntax

C#
public static void SetDefaultGenLookaheadCount(
	int count
)
Visual Basic
Public Shared Sub SetDefaultGenLookaheadCount ( _
	count As Integer _
)
Visual C++
public:
static void SetDefaultGenLookaheadCount(
	int count
)

Parameters

count
Type: System..::..Int32

[Missing <param name="count"/> documentation for "M:Lucene.Net.Index.SegmentInfos.SetDefaultGenLookaheadCount(System.Int32)"]

See Also