GoLang SphinxClient::setFilter

request it (281)
GoLang replacement for PHP's SphinxClient::setFilter [edit | history]



Do you know a GoLang replacement for PHP's SphinxClient::setFilter? Write it!

PHP SphinxClient::setFilter

PHP original manual for SphinxClient::setFilter [ show | php.net ]

SphinxClient::setFilter

(PECL sphinx >= 0.1.0)

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.

Return Values

Returns TRUE on success or FALSE on failure.