Set float range filter; only match records if $attribute value between $min and $max (inclusive)
public function testFilterFloatRangeExclude() { $sphinx = new SphinxClient(); $sphinx->setFilterFloatRange('lat', 0.2, 0.4, true); $results = $sphinx->query('bb'); $this->assertEquals($results['total'], 2); }
/** * {@inheritdoc} */ public function setFilterFloatRange($attribute, $min, $max, $exclude = false) { return $this->proxy->setFilterFloatRange($attribute, $min, $max, $exclude); }