Implemented as
CopyC#
1/sqrt(numTerms)
.

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

Syntax

C#
public override float LengthNorm(
	string fieldName,
	int numTerms
)
Visual Basic
Public Overrides Function LengthNorm ( _
	fieldName As String, _
	numTerms As Integer _
) As Single
Visual C++
public:
virtual float LengthNorm(
	String^ fieldName, 
	int numTerms
) override

Parameters

fieldName
Type: System..::..String

[Missing <param name="fieldName"/> documentation for "M:Lucene.Net.Search.DefaultSimilarity.LengthNorm(System.String,System.Int32)"]

numTerms
Type: System..::..Int32

[Missing <param name="numTerms"/> documentation for "M:Lucene.Net.Search.DefaultSimilarity.LengthNorm(System.String,System.Int32)"]

Return Value

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

See Also