(PECL sphinx >= 0.1.0)
SphinxClient::setFilter — Add new integer values set filter
$attribute
, array $values
[, bool $exclude = FALSE
] ) : boolAdds new integer values set filter to the existing list of filters.
attributeAn attribute name.
valuesPlain array of integer values.
exclude
If set to TRUE, matching documents are excluded from the result set.
Întoarce valoarea TRUE în cazul
succesului sau FALSE în cazul eșecului.