public function removeFilter($attribute)
    {
        assert(is_string($attribute));
        foreach ($this->_filters as $key => $filter) {
            if ($filter['attr'] == $attribute) {
                unset($this->_filters[$key]);

                return $this;
            }
        }

        return $this;
    }
public function removeFilter($attribute)
    {
        assert(is_string($attribute));
        foreach ($this->_filters as $key => $filter) {
            if ($filter['attr'] == $attribute) {
                unset($this->_filters[$key]);

                return $this;
            }
        }

        return $this;
    }
public function removeFilter ( $ attribute ) { assert ( is_string ( $ attribute ) ) ; foreach ( $ this -> _filters as $ key => $ filter ) { if ( $ filter [ 'attr' ] == $ attribute ) { unset ( $ this -> _filters [ $ key ] ) ; return $ this ; } } return $ this ; }
Removes a previously set filter.

@author: Nil Portugués Calderó

@param $attribute

@return SphinxClient
Removes a previously set filter .