SPHINXCLIENT.SETFILTER(3) 1 SPHINXCLIENT.SETFILTER(3)
SphinxClient::setFilter - Add new integer values set filter
SYNOPSIS
public bool SphinxClient::setFilter (string $attribute, array $values, [bool $exclude = false])
DESCRIPTION
Adds new integer values set filter to the existing list of filters.
PARAMETERS
o $attribute
- An attribute name.
o $values
- Plain array of integer values.
o $exclude
- If set to TRUE, matching documents are excluded from the result set.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
"SphinxClient::setFilterFloatRange", "SphinxClient::setFilterRange", "SphinxClient::resetFilters".
PHP Documentation Group SPHINXCLIENT.SETFILTER(3)