ZF-6740: Zend Search Lucene attempts to use invalid class 'Zend_Search_Lucene_termStreamsPriorityQueue' on line 1461
Description
Zend Search Lucene attempts to use invalid class 'Zend_Search_Lucene_termStreamsPriorityQueue' on line 1461
Easily fixed by changing the case to upper camel case: Zend_Search_Lucene_TermStreamsPriorityQueue
Comments
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2009-05-20T06:30:20.000+0000
The class Zend_Search_Lucene_termStreamsPriorityQueue is defined in Zend/Search/Lucene/TermStreamsPriorityQueue.php .
The class is used by Zend/Search/Lucene.php and Zend/Search/Lucene/MultiSearcher.php
Posted by Jukka Dahlbom (jukkad) on 2009-05-28T07:38:57.000+0000
In our setup the require_once:s have been stripped, and auto loader loads everything according to their class name and set include paths. Using a lower case name causes the loader to fail, as the class is actually named Zend_Search_Lucene_TermSearchPriorityQueue, instead of Zend_Search._Lucene_termSearchPriorityQueue.
So the issue is not with the class definition, but with the way Zend/Search/Lucene.php calling it by a wrong name.
This probably is not a problem for case-insensitive OS's such as windows.
Posted by Jukka Dahlbom (jukkad) on 2009-05-28T07:40:39.000+0000
.. and above all the "TermSearchPriorityQueue"s should obviously read "TermStreamsPriorityQueue".
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2009-05-29T06:39:22.000+0000
Solved in SVN r15811
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2009-06-01T15:49:17.000+0000
Change Next minor to Next Mini