SphinxClient::setFilter

(PECL sphinx >= 0.1.0)
Add new integer values set filter
public bool SphinxClient::setFilter ( string $attribute, array $values [, bool $exclude = false ] )

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.

Returns:

Returns TRUE on success or FALSE on failure.

See also:

SphinxClient::setFilterFloatRange -

SphinxClient::setFilterRange -

SphinxClient::resetFilters -

doc_php
2016-02-24 16:11:57
Comments
Leave a Comment

Please login to continue.