public function setBoostTerms($boostTerms) { return $this->setParam('boost_terms', (bool) $boostTerms); }
/** * @group unit */ public function testSetBoostTerms() { $query = new MoreLikeThis(); $boost = false; $query->setBoostTerms($boost); $this->assertEquals($boost, $query->getParam('boost_terms')); }