Abstract Class ZSearchQuery

Description

Located in /incubator/Zend/Search/Lucene/search/ZSearchQuery.php (line 28)


	
			
Direct descendents
Class Description
 class ZSearchMultiTermQuery
 class ZSearchPhraseQuery A Query that matches documents containing a particular sequence of terms.
 class ZSearchTermQuery
Variable Summary
Method Summary
 float getBoost ()
 float score (integer $docId, ZSearch $reader)
 void setBoost (float $boost)
 void _initWeight (ZSearch $reader)
Variables
ZSearchWeight $_weight (line 43)

Query weight

  • access: protected
Methods
getBoost (line 53)

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

Score specified document

  • access: public
  • abstract:
float score (integer $docId, ZSearch $reader)

Redefined in descendants as:
setBoost (line 63)

Sets the boost for this query clause to $boost.

  • access: public
void setBoost (float $boost)
  • float $boost
_createWeight (line 83)

Constructs an appropriate Weight implementation for this query.

  • access: protected
  • abstract:
ZSearchWeight _createWeight (ZSearch $reader)

Redefined in descendants as:
_initWeight (line 90)

Constructs an initializes a Weight for a query.

  • access: protected
void _initWeight (ZSearch $reader)

Documentation generated on Wed, 08 Mar 2006 04:56:51 -0800 by phpDocumentor 1.3.0RC4