public function testFilterExclude() { $sphinx = new SphinxClient(); $sphinx->setFilter('attr1', array(1, 2, 3), true); $results = $sphinx->query('bb'); $this->assertEquals($results['total'], 2); }
/** * {@inheritdoc} */ public function setFilter($attribute, array $values, $exclude = false) { return $this->proxy->setFilter($attribute, $values, $exclude); }