Implemented as
CopyC#
1 / (distance + 1)
.

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

Syntax

C#
public override float SloppyFreq(
	int distance
)
Visual Basic
Public Overrides Function SloppyFreq ( _
	distance As Integer _
) As Single
Visual C++
public:
virtual float SloppyFreq(
	int distance
) override

Parameters

distance
Type: System..::..Int32

[Missing <param name="distance"/> documentation for "M:Lucene.Net.Search.DefaultSimilarity.SloppyFreq(System.Int32)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Search.DefaultSimilarity.SloppyFreq(System.Int32)"]

See Also