Sets the default slop for phrases. If zero, then exact phrase matches are required. Default value is zero.

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

Syntax

C#
public virtual void SetPhraseSlop(
	int phraseSlop
)
Visual Basic
Public Overridable Sub SetPhraseSlop ( _
	phraseSlop As Integer _
)
Visual C++
public:
virtual void SetPhraseSlop(
	int phraseSlop
)

Parameters

phraseSlop
Type: System..::..Int32

[Missing <param name="phraseSlop"/> documentation for "M:Lucene.Net.QueryParsers.QueryParser.SetPhraseSlop(System.Int32)"]

See Also