Determines whether overlap tokens (Tokens with 0 position increment) are ignored when computing norm. By default this is false, meaning overlap tokens are counted just like non-overlap tokens.

WARNING: This API is new and experimental, and may suddenly change.

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

Syntax

C#
public virtual void SetDiscountOverlaps(
	bool v
)
Visual Basic
Public Overridable Sub SetDiscountOverlaps ( _
	v As Boolean _
)
Visual C++
public:
virtual void SetDiscountOverlaps(
	bool v
)

Parameters

v
Type: System..::..Boolean

[Missing <param name="v"/> documentation for "M:Lucene.Net.Search.DefaultSimilarity.SetDiscountOverlaps(System.Boolean)"]

See Also