Method ComputeNorm
ComputeNorm(FieldInvertState)
Computes the normalization value for a field, given the accumulated state of term processing for this field (see FieldInvertState).
Matches in longer fields are less precise, so implementations of this
method usually set smaller values when state.Length
is large,
and larger values when
state.Length
is small.
@lucene.experimental
Declaration
public abstract long ComputeNorm(FieldInvertState state)
Parameters
Type | Name | Description |
---|---|---|
FieldInvertState | state | current processing state for this field |
Returns
Type | Description |
---|---|
System.Int64 | computed norm value |