SphinxClient::setFilter
(PECL sphinx >= 0.1.0)
SphinxClient::setFilter — Add new integer values set filter
Description
public SphinxClient::setFilter ( string $attribute , array $values [, bool $exclude = false ] ) : bool
Adds new integer values set filter to the existing list of filters.
Parameters
-
attribute
-
An attribute name.
-
values
-
Plain array of integer values.
-
exclude
-
If set to
true
, matching documents are excluded from the result set.
Return Values
Returns true
on success or false
on failure.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/sphinxclient.setfilter.php