Method QueryNorm
QueryNorm(Single)
Computes the normalization value for a query given the sum of the squared weights of each of the query terms. This value is then multipled into the weight of each query term.
This does not affect ranking, but rather just attempts to make scores from different queries comparable.
Declaration
public abstract float QueryNorm(float sumOfSquaredWeights)
Parameters
Type | Name | Description |
---|---|---|
System.Single | sumOfSquaredWeights | the sum of the squares of query term weights |
Returns
Type | Description |
---|---|
System.Single | a normalization factor for query weights |