## Zend_Search_Lucene_Search_Weight_Term

Description

- license: New BSD License
- copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Search/Lucene/Search/Weight/Term.php (line 34)

    Zend_Search_Lucene_Search_Weight
       |
       --Zend_Search_Lucene_Search_Weight_Term

Method Summary
Zend_Search_Lucene_Search_Weight_Term __construct ( $term, $query, Zend_Search_Lucene $reader)
float getValue ()
void normalize (float $queryNorm)
float sumOfSquaredWeights ()
Methods
Constructor __construct (line 93)

Zend_Search_Lucene_Search_Weight_Term constructor reader - index reader

- access: public

Zend_Search_Lucene_Search_Weight_Term __construct ( $term, $query, Zend_Search_Lucene $reader)

- Zend_Search_Lucene $reader
- $term
- $query

getValue (line 106)

The weight for this query

- access: public

float getValue ()

Redefinition of:

Zend_Search_Lucene_Search_Weight::getValue()
  The weight for this query.

normalize (line 135)

Assigns the query normalization factor to this.

- access: public

void normalize (float $queryNorm)

- float $queryNorm

Redefinition of:

Zend_Search_Lucene_Search_Weight::normalize()
  Assigns the query normalization factor to this.

sumOfSquaredWeights (line 117)

The sum of squared weights of contained query clauses.

- access: public

float sumOfSquaredWeights ()

Redefinition of:

Zend_Search_Lucene_Search_Weight::sumOfSquaredWeights()
  The sum of squared weights of contained query clauses.

#### Inherited Methods

Inherited From Zend_Search_Lucene_Search_Weight

> Zend_Search_Lucene_Search_Weight::getValue()
> Zend_Search_Lucene_Search_Weight::normalize()
> Zend_Search_Lucene_Search_Weight::sumOfSquaredWeights()

Documentation generated on Tue, 11 Jul 2006 12:18:12 -0500 by phpDocumentor 1.3.0RC6