SphinxClient::setFilter

(PECL sphinx >= 0.1.0)

SphinxClient::setFilterAdd new integer values set filter

Descrierea

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

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

Parametri

attribute

An attribute name.

values

Plain array of integer values.

exclude

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

Valorile întoarse

Întoarce valoarea true în cazul succesului sau false în cazul eșecului.

add a note add a note

User Contributed Notes

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