Method ComputeNorm
ComputeNorm(String, FieldInvertState)
Compute the normalization value for a field, given the accumulated state of term processing for this field (see FieldInvertState).
Implementations should calculate a float value based on the field state and then return that value.
For backward compatibility this method by default calls
WARNING: This API is new and experimental and may suddenly change.
Declaration
public virtual float ComputeNorm(String field, FieldInvertState state)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | field name |
FieldInvertState | state | current processing state for this field |
Returns
Type | Description |
---|---|
System.Single | the calculated float norm |