Issues

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

Issue Type: Bug Created: 2010-04-15T02:37:08.000+0000 Last Updated: 2010-09-21T04:06:26.000+0000 Status: Resolved Fix version(s): - 1.11.1 (30/Nov/10)

Reporter: J├╝rgen Henge-Ernst (hernst42) Assignee: Jan Pieper (jpieper) Tags: - Zend_Search_Lucene

Related issues: Attachments:

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

Posted by Jan Pieper (jpieper) on 2010-05-20T23:43:57.000+0000

Fixed in r22220.

Posted by Alexander Veremyev (alexander) on 2010-09-21T03:54:08.000+0000

Merged into release branch

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts