Zend Framework  1.12
Public Member Functions | List of all members
Zend_Search_Lucene_Search_Weight_MultiTerm Class Reference

Public Member Functions

 __construct (Zend_Search_Lucene_Search_Query $query, Zend_Search_Lucene_Interface $reader)
 Zend_Search_Lucene_Search_Weight_MultiTerm constructor query - the query that this concerns.
 
 getValue ()
 The weight for this query Standard Weight::$_value is not used for boolean queries.
 
 sumOfSquaredWeights ()
 The sum of squared weights of contained query clauses.
 
 normalize ($queryNorm)
 Assigns the query normalization factor to this.
 
- Public Member Functions inherited from Zend_Search_Lucene_Search_Weight
 getValue ()
 The weight for this query.
 
 sumOfSquaredWeights ()
 The sum of squared weights of contained query clauses.
 
 normalize ($norm)
 Assigns the query normalization factor to this.
 

Additional Inherited Members

- Protected Attributes inherited from Zend_Search_Lucene_Search_Weight
 $_queryNorm
 
 $_value
 

Constructor & Destructor Documentation

__construct ( Zend_Search_Lucene_Search_Query  $query,
Zend_Search_Lucene_Interface  $reader 
)

Zend_Search_Lucene_Search_Weight_MultiTerm constructor query - the query that this concerns.

reader - index reader

Parameters
Zend_Search_Lucene_Search_Query$query
Zend_Search_Lucene_Interface$reader

Member Function Documentation

getValue ( )

The weight for this query Standard Weight::$_value is not used for boolean queries.

Returns
float
normalize (   $queryNorm)

Assigns the query normalization factor to this.

Parameters
float$queryNorm
sumOfSquaredWeights ( )

The sum of squared weights of contained query clauses.

Returns
float