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


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()