Issues

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

Description

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 http://eaccelerator.net/ticket/248

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

Comments

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.