Issues

ZF-5936: Zend_Search_Lucene_Search_Query_Term has useless and buggy method getTerms()

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

Comments

Fixed.