Issues

ZF-9680: Fatal error: Call to a member function isDeleted() on a non-object in Zend/Search/Lucene.php on line 709

Description

Code to reproduce:

$Zend_Search_Lucene_Proxy = Zend_Search_Lucene::create('/tmp/LuceneSearchEngine'); $Zend_Search_Lucene_Proxy->setMaxBufferedDocs(500); $Zend_Search_Lucene_Proxy->setMergeFactor(5); $Zend_Search_Lucene_Proxy->maxDoc(); $doc = new Zend_Search_Lucene_Document(); $doc->addField(Zend_Search_Lucene_Field::Keyword('id', 'myId')); $doc->addField(Zend_Search_Lucene_Field::UnStored('bla', 'blubb')); $Zend_Search_Lucene_Proxy->addDocument($doc); $Zend_Search_Lucene_Proxy->maxDoc(); $Zend_Search_Lucene_Proxy->isDeleted(0);

Comments

Fixed in r22220.

Merged into release branch