SphinxClient::setFilter

(PECL sphinx >= 0.1.0)

SphinxClient::setFilterAdd new integer values set filter

Descrição

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

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

Parâmetros

attribute

An attribute name.

values

Plain array of integer values.

exclude

If set to TRUE, matching documents are excluded from the result set.

Valor Retornado

Retorna TRUE em caso de sucesso ou FALSE em caso de falha.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top