Zend_Search_Lucene::getDocument
Returns a Zend_Search_Lucene_Document object for the document number $id in this index.
Signature
public function getDocument(integer|Zend_Search_Lucene_Search_QueryHit
$id )
Parameters
$id
— object
Returns
- Zend_Search_Lucene_Document
Errors/Exceptions
-
Zend_Search_Lucene_Exception
- Exception is thrown if $id is out of the range