Issues

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

Issue Type: Bug Created: 2009-03-04T05:53:55.000+0000 Last Updated: 2009-04-30T06:08:55.000+0000 Status: Resolved Fix version(s): - 1.8.1 (12/May/09)

Reporter: Ben Scholzen (dasprid) Assignee: Alexander Veremyev (alexander) Tags: - Zend_Search_Lucene

Related issues: Attachments:

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

Posted by Alexander Veremyev (alexander) on 2009-04-30T06:08:54.000+0000

Fixed.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts