SphinxClient
PHP Manual

SphinxClient::setFilter

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

SphinxClient::setFilterAdd new integer values set filter

Opis

public bool SphinxClient::setFilter ( string $attribute , array $values [, bool $exclude ] )

Adds new integer values set filter to the existing list of filters.

Parametry

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.

Zwracane wartości

Zwraca TRUE w przypadku powodzenia, FALSE w przypadku błędu.

Patrz także


SphinxClient
PHP Manual