Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.2.0
-
None
Description
besides the wrong accumulatro being stopped at the end of ezsolr::moreLikeThis(), there are php warnings generated if solr responds with a no-data answer.
patch:
//if ( count($resultArray) > 0 ) $objectRes = array(); if ( isset( $resultArray['response'] ) && is_array( $resultArray['response'] ) ) { $result = $resultArray['response']; $searchCount = $result['numFound'];