ZSearchWeightCalculate query weights and build query scorers.
A Weight is constructed by a query Query->createWeight(). The sumOfSquaredWeights() method is then called on the top-level query to compute the query normalization factor Similarity->queryNorm(float). This factor is then passed to normalize(float). At this point the weighting is complete.
Located in /incubator/Zend/Search/Lucene/search/ZSearchWeight.php (line 36)
| Class | Description |
|---|---|
ZSearchMultiTermWeight
|
|
ZSearchPhraseWeight
|
|
ZSearchTermWeight
|
getValue (line 43)
The weight for this query.
normalize (line 57)
Assigns the query normalization factor to this.
sumOfSquaredWeights (line 50)
The sum of squared weights of contained query clauses.
Documentation generated on Wed, 08 Mar 2006 04:57:02 -0800 by phpDocumentor 1.3.0RC4