ZF-6740: Zend Search Lucene attempts to use invalid class 'Zend_Search_Lucene_termStreamsPriorityQueue' on line 1461

Issue Type: Bug Created: 2009-05-20T04:58:31.000+0000 Last Updated: 2011-08-04T09:48:48.000+0000 Status: Resolved Fix version(s): - 1.8.3 (09/Jun/09)

Reporter: Jukka Dahlbom (jukkad) Assignee: Satoru Yoshida (satoruyoshida) Tags: - Zend_Search_Lucene

Related issues: - ZF-6847



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


Posted by old of Satoru Yoshida ( 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 ( on 2009-05-29T06:39:22.000+0000

Solved in SVN r15811

Posted by old of Satoru Yoshida ( on 2009-06-01T15:49:17.000+0000

Change Next minor to Next Mini

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.