Docs For Class Zend_Search_Lucene_Search_Weight_Boolean

## Class Zend_Search_Lucene_Search_Weight_Boolean

Description

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

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

    Zend_Search_Lucene_Search_Weight
       |
       --Zend_Search_Lucene_Search_Weight_Boolean

Method Summary
Zend_Search_Lucene_Search_Weight_Boolean __construct (Zend_Search_Lucene_Search_Query_Boolean $query, Zend_Search_Lucene $reader)
float getValue ()
void normalize (float $queryNorm)
float sumOfSquaredWeights ()
Variables

#### Inherited Variables

Inherited from Zend_Search_Lucene_Search_Weight

> Zend_Search_Lucene_Search_Weight::$_queryNorm
> Zend_Search_Lucene_Search_Weight::$_value

Methods
Constructor __construct (line 67)

Zend_Search_Lucene_Search_Weight_Boolean constructor query - the query that this concerns.

reader - index reader

- access: public

Zend_Search_Lucene_Search_Weight_Boolean __construct (Zend_Search_Lucene_Search_Query_Boolean $query, Zend_Search_Lucene $reader)

- Zend_Search_Lucene_Search_Query_Boolean $query
- Zend_Search_Lucene $reader

getValue (line 89)

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

- access: public

float getValue ()

Redefinition of:

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

normalize (line 124)

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 100)

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 Sun, 29 Oct 2006 21:27:02 -0600 by phpDocumentor 1.3.0RC6