public ComputeNorm ( System field, Lucene.Net.Index.FieldInvertState state ) : float | ||
field | System | field name /// |
state | Lucene.Net.Index.FieldInvertState | current processing state for this field /// |
return | float |
Implementations should calculate a float value based on the field state and then return that value.
For backward compatibility this method by default calls LengthNorm(String, int) passing FieldInvertState.GetLength() as the second argument, and then multiplies this value by FieldInvertState.GetBoost().
WARNING: This API is new and experimental and may suddenly change.
public ComputeNorm ( System field, Lucene.Net.Index.FieldInvertState state ) : float | ||
field | System | field name /// |
state | Lucene.Net.Index.FieldInvertState | current processing state for this field /// |
return | float |