Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.7.6
-
Fix Version/s: 1.8.1
-
Component/s: Zend_Search_Lucene
-
Labels:None
Description
In Zend_Search_Lucene_Search_Query_Term there are two methods: getTerm() and getTerms(). getTerm() returns $this->_term, which is fine. getTerms() wants to return $this->_terms, which doesn't exist. So when calling this method, you'll get:
Notice: Undefined property: Zend_Search_Lucene_Search_Query_Term::$_terms in Zend/Search/Lucene/Search/Query/Term.php on line 200
Fixed.