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

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

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.

.. and above all the "TermSearchPriorityQueue"s should obviously read "TermStreamsPriorityQueue".

Solved in SVN r15811

Change Next minor to Next Mini