Lucene.Net.Search.TestDisjunctionMaxQuery.TestSimilarity.LengthNorm C# (CSharp) Method

LengthNorm() public method

public LengthNorm ( Lucene.Net.Index.FieldInvertState state ) : float
state Lucene.Net.Index.FieldInvertState
return float
            public override float LengthNorm(FieldInvertState state)
            {
                // Disable length norm
                return state.Boost;
            }
TestDisjunctionMaxQuery.TestSimilarity