Zend_Search_Lucene_Search_Similarity::queryNorm
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. sumOfSquaredWeights - the sum of the squares of query term weights Returns a normalization factor for query weights
Signature
public function queryNorm(float
$sumOfSquaredWeights )
Parameters
$sumOfSquaredWeights
— float
Returns
- float