Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Zend_Search_Lucene_Document $_document = 'null'
Object handle of the document associated with this hit
Zend_Search_Lucene_Interface $_index = 'null'
Object handle of the index
integer $id = ''
Number of the document in the index
float $score = ''
Score of the hit
__construct(
Zend_Search_Lucene_Interface $index
)
:
Constructor - pass object handle of Zend_Search_Lucene_Interface index that produced the hit so the document can be retrieved easily from the hit.
__get(
string $offset
)
:
string
Convenience function for getting fields from the document associated with this hit.
getDocument(
)
:
Zend_Search_Lucene_Document
Return the document object for this hit
getIndex(
)
:
Zend_Search_Lucene_Interface
Return the index object for this hit