SphinxClient
SphinxClient
()
void
AddQuery
( $query, [ $index = "*"], [ $comment = ""])
void
BuildExcerpts
( $docs, $index, $words, [ $opts = array()])
-
$docs
-
$index
-
$words
-
$opts
void
BuildKeywords
( $query, $index, $hits)
void
EscapeString
( $string)
void
Query
( $query, [ $index = "*"], [ $comment = ""])
void
SetArrayResult
( $arrayresult)
void
SetConnectTimeout
( $timeout)
void
SetFieldWeights
( $weights)
void
SetFilter
( $attribute, $values, [ $exclude = false])
-
$attribute
-
$values
-
$exclude
void
SetFilterFloatRange
( $attribute, $min, $max, [ $exclude = false])
-
$attribute
-
$min
-
$max
-
$exclude
void
SetFilterRange
( $attribute, $min, $max, [ $exclude = false])
-
$attribute
-
$min
-
$max
-
$exclude
void
SetGeoAnchor
( $attrlat, $attrlong, $lat, $long)
-
$attrlat
-
$attrlong
-
$lat
-
$long
void
SetGroupBy
( $attribute, $func, [ $groupsort = "@group desc"])
-
$attribute
-
$func
-
$groupsort
void
SetGroupDistinct
( $attribute)
void
SetIDRange
( $min, $max)
void
SetIndexWeights
( $weights)
void
SetLimits
( $offset, $limit, [ $max = 0], [ $cutoff = 0])
-
$offset
-
$limit
-
$max
-
$cutoff
void
SetMatchMode
( $mode)
void
SetMaxQueryTime
( $max)
void
SetRankingMode
( $ranker)
void
SetRetries
( $count, [ $delay = 0])
void
SetServer
( $host, $port)
void
SetSortMode
( $mode, [ $sortby = ""])
void
SetWeights
( $weights)
void
UpdateAttributes
( $index, $attrs, $values)
void
_GetResponse
( $fp, $client_ver)