Method ComputeNorm
ComputeNorm(String, FieldInvertState)
Implemented as
state.getBoost()*lengthNorm(numTerms)
, where
numTerms
is Length if DiscountOverlaps
is false, else it's Length
WARNING: This API is new and experimental, and may suddenly change.
Declaration
public override float ComputeNorm(String field, FieldInvertState state)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | |
FieldInvertState | state |
Returns
Type | Description |
---|---|
System.Single |