Abstract Class Zend_Search_Lucene_Search_Query

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

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


	
			
Direct descendents
Variable Summary
Method Summary
Variables
Zend_Search_Lucene_Search_Weight $_weight = null (line 45)

Query weight

  • access: protected
Methods
createWeight (line 85)

Constructs an appropriate Weight implementation for this query.

  • access: public
  • abstract:

Redefined in descendants as:
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 ()
optimize (line 121)

Optimize query

Do nothing by default

  • access: public
reset (line 130)

Reset query, so it can be reused within other queries or

with other indeces

  • access: public
void reset ()
rewrite (line 111)

Bind query to the index

  • access: public
  • abstract:

Redefined in descendants as:
score (line 77)

Score specified document

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

Redefined in descendants as:
setBoost (line 65)

Sets the boost for this query clause to $boost.

  • access: public
void setBoost (float $boost)
  • float $boost
_initWeight (line 92)

Constructs an initializes a Weight for a _top-level_query_.

  • access: protected
void _initWeight (Zend_Search_Lucene $reader)
__toString (line 141)

Print a query

  • access: public
  • abstract:
string __toString ()

Redefined in descendants as:

Documentation generated on Thu, 18 Jan 2007 09:58:10 -0800 by phpDocumentor 1.3.1