Zend Framework

Zend_Search_Lucene_Interface_MultiSearcher::find() throws warning when there are no indexes

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9.3
  • Fix Version/s: 1.9.6
  • Component/s: Zend_Search_Lucene
  • Labels:
    None

Description

If you use the Zend_Search_Lucene_Interface_MultiSearcher class and try to search when no indexes have been added via addIndex(), the following error occurs:

Warning: Wrong parameter count for array_merge() in ./Zend/Search/Lucene/MultiSearcher.php on line 479

This would likely occur in each of the other functions in this class also, such as getFieldNames(), termDocs(), termFreqs(), termPositions(), terms()

Activity

Hide
Alexander Veremyev added a comment -

Fixed

Show
Alexander Veremyev added a comment - Fixed

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: