Freelance PHP programmer India | Freelance web developer india | Web development India | web developer CV india | Compiling PHP and Apache 2 from source on Linux
SphinxClient
PHP Manual

SphinxClient::setFilter

(No version information available, might be only in CVS)

SphinxClient::setFilterAdd new integer values set filter

Description

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. Defaults to FALSE.

Return Values

Returns TRUE on success or FALSE on failure.

See Also


SphinxClient
PHP Manual