Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sphinxclient.setfilter(3) [php man page]

SPHINXCLIENT.SETFILTER(3)						 1						 SPHINXCLIENT.SETFILTER(3)

SphinxClient::setFilter - Add new integer values set filter

SYNOPSIS
public bool SphinxClient::setFilter (string $attribute, array $values, [bool $exclude = false]) DESCRIPTION
Adds new integer values set filter to the existing list of filters. PARAMETERS
o $attribute - An attribute name. o $values - Plain array of integer values. o $exclude - If set to TRUE, matching documents are excluded from the result set. RETURN VALUES
Returns TRUE on success or FALSE on failure. SEE ALSO
"SphinxClient::setFilterFloatRange", "SphinxClient::setFilterRange", "SphinxClient::resetFilters". PHP Documentation Group SPHINXCLIENT.SETFILTER(3)

Check Out this Related Man Page

SPHINXCLIENT(3) 							 1							   SPHINXCLIENT(3)

The SphinxClient class

INTRODUCTION
The SphinxClient class provides object-oriented interface to Sphinx. CLASS SYNOPSIS
SphinxClient SphinxClient Methods o public int SphinxClient::addQuery (string $query, [string $index = "*"], [string $comment = ""]) o public array SphinxClient::buildExcerpts (array $docs, string $index, string $words, [array $opts]) o public array SphinxClient::buildKeywords (string $query, string $index, bool $hits) o public bool SphinxClient::close (void ) o public SphinxClient::__construct (void ) o public string SphinxClient::escapeString (string $string) o public string SphinxClient::getLastError (void ) o public string SphinxClient::getLastWarning (void ) o public bool SphinxClient::open (void ) o public array SphinxClient::query (string $query, [string $index = "*"], [string $comment = ""]) o public void SphinxClient::resetFilters (void ) o public void SphinxClient::resetGroupBy (void ) o public array SphinxClient::runQueries (void ) o public bool SphinxClient::setArrayResult (bool $array_result = false) o public bool SphinxClient::setConnectTimeout (float $timeout) o public bool SphinxClient::setFieldWeights (array $weights) o public bool SphinxClient::setFilter (string $attribute, array $values, [bool $exclude = false]) o public bool SphinxClient::setFilterFloatRange (string $attribute, float $min, float $max, [bool $exclude = false]) o public bool SphinxClient::setFilterRange (string $attribute, int $min, int $max, [bool $exclude = false]) o public bool SphinxClient::setGeoAnchor (string $attrlat, string $attrlong, float $latitude, float $longitude) o public bool SphinxClient::setGroupBy (string $attribute, int $func, [string $groupsort = "@group desc"]) o public bool SphinxClient::setGroupDistinct (string $attribute) o public bool SphinxClient::setIDRange (int $min, int $max) o public bool SphinxClient::setIndexWeights (array $weights) o public bool SphinxClient::setLimits (int $offset, int $limit, [int $max_matches], [int $cutoff]) o public bool SphinxClient::setMatchMode (int $mode) o public bool SphinxClient::setMaxQueryTime (int $qtime) o public bool SphinxClient::setOverride (string $attribute, int $type, array $values) o public bool SphinxClient::setRankingMode (int $ranker) o public bool SphinxClient::setRetries (int $count, [int $delay]) o public bool SphinxClient::setSelect (string $clause) o public bool SphinxClient::setServer (string $server, int $port) o public bool SphinxClient::setSortMode (int $mode, [string $sortby]) o public array SphinxClient::status (void ) o public int SphinxClient::updateAttributes (string $index, array $attributes, array $values, [bool $mva = false]) PHP Documentation Group SPHINXCLIENT(3)
Man Page