## Zend_Search_Lucene_Search_Query

Description

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

Located in /Zend/Search/Lucene/Search/Query.php (line 30)

Direct descendents

Class | Description
--- | ---
Zend_Search_Lucene_Search_Query_MultiTerm |
Zend_Search_Lucene_Search_Query_Phrase | A Query that matches documents containing a particular sequence of terms.
Zend_Search_Lucene_Search_Query_Term |

Variable Summary
Zend_Search_Lucene_Search_Weight $_weight
Method Summary
float getBoost ()
float score (integer $docId, Zend_Search_Lucene $reader)
void setBoost (float $boost)
Zend_Search_Lucene_Search_Weight _createWeight (Zend_Search_Lucene $reader)
void _initWeight (Zend_Search_Lucene $reader)
Variables
Zend_Search_Lucene_Search_Weight $_weight (line 45)

Query weight

- access: protected

Methods
getBoost (line 55)

Gets the boost for this clause. Documents matching this clause will (in addition to the normal weightings) have their score multiplied by boost. The boost is 1.0 by default.

- access: public

float getBoost ()
score (line 77)

Score specified document

- access: public
- abstract:

float score (integer $docId, Zend_Search_Lucene $reader)

- integer $docId
- Zend_Search_Lucene $reader

Redefined in descendants as:

- Zend_Search_Lucene_Search_Query_MultiTerm::score() : Score specified document
- Zend_Search_Lucene_Search_Query_Phrase::score() : Score specified document
- Zend_Search_Lucene_Search_Query_Term::score() : Score specified document

setBoost (line 65)

Sets the boost for this query clause to $boost.

- access: public

void setBoost (float $boost)

- float $boost

_createWeight (line 85)

Constructs an appropriate Weight implementation for this query.

- access: protected
- abstract:

Zend_Search_Lucene_Search_Weight _createWeight (Zend_Search_Lucene $reader)

- Zend_Search_Lucene $reader

Redefined in descendants as:

- Zend_Search_Lucene_Search_Query_MultiTerm::_createWeight() : Constructs an appropriate Weight implementation for this query.
- Zend_Search_Lucene_Search_Query_Phrase::_createWeight() : Constructs an appropriate Weight implementation for this query.
- Zend_Search_Lucene_Search_Query_Term::_createWeight() : Constructs an appropriate Weight implementation for this query.

_initWeight (line 92)

Constructs an initializes a Weight for a query.

- access: protected

void _initWeight (Zend_Search_Lucene $reader)

- Zend_Search_Lucene $reader

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