Method ComputeNorm
ComputeNorm(String, FieldInvertState)
Compute the normalization value for a field, given the accumulated
state of term processing for this field (see Field
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. |
field | field name |
Field |
state | current processing state for this field |
Returns
Type | Description |
---|---|
System. |
the calculated float norm |