ZF-2095: Zend Search tries to search for ".del" compound file while it actually isn't there and caused exception

Issue Type: Bug Created: 2007-10-24T11:07:25.000+0000 Last Updated: 2008-02-26T12:56:04.000+0000 Status: Resolved Fix version(s): - 1.0.4 (26/Feb/08)

Reporter: Nguyen Huu Thong (simzen85) Assignee: Alexander Veremyev (alexander) Tags: - Zend_Search_Lucene

Related issues: Attachments:


Zend Search suddenly caused error becaues it searchs for ".del" compound file while my index just contains ".sti" & ".cfs" My PHP got eAccerelator and I'm not sure if there's anything wrong with that since I found another link with the similiar issue here

Note: I temporarily fixed the issue by commenting the code that check for ".del" in Search/Index/SegmentInfo.php around line 206


Posted by Alexander Veremyev (alexander) on 2007-12-27T11:15:52.000+0000

That looks like eAccelerator doesn't catch exception if it's actually inherited from the specified class (Zend_Search_Lucene code tries to catch Zend_Search_Exception exception object when it's actually Zend_Search_Lucene_Exception) .

It doesn't matter which type of exception to catch, so changing caught exception type to Zend_Search_Lucene_Exception should resolve the problem. But it's still a bug in eAccelerator.

Have you found an issue?

See the Overview section for more details.


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

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