## Zend_Search_Lucene_Search_QueryHit

Description

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

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

Variable Summary
integer $id
float $score
Zend_Search_Lucene_Document $_document
Zend_Search_Lucene $_index
Method Summary
Zend_Search_Lucene_Search_QueryHit __construct (Zend_Search_Lucene $index)
Zend_Search_Lucene_Document getDocument ()
Zend_Search_Lucene getIndex ()
string __get (string $offset)
Variables
integer $id (line 48)

Number of the document in the index

- access: public

float $score (line 54)

Score of the hit

- access: public

Zend_Search_Lucene_Document $_document = null (line 42)

Object handle of the document associated with this hit

- access: protected

Zend_Search_Lucene $_index = null (line 36)

Object handle of the index

- access: protected

Methods
Constructor __construct (line 64)

Constructor - pass object handle of Zend_Search_Lucene index that produced the hit so the document can be retrieved easily from the hit.

- access: public

Zend_Search_Lucene_Search_QueryHit __construct (Zend_Search_Lucene $index)

- Zend_Search_Lucene $index

getDocument (line 88)

Return the document object for this hit

- access: public

Zend_Search_Lucene_Document getDocument ()
getIndex (line 103)

Return the index object for this hit

- access: public

Zend_Search_Lucene getIndex ()
__get (line 77)

Convenience function for getting fields from the document associated with this hit.

- access: public

string __get (string $offset)

- string $offset

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