Class SphinxClient

Description
Variable Summary
mixed $_anchor
mixed $_cutoff
mixed $_error
mixed $_filters
mixed $_groupby
mixed $_groupfunc
mixed $_groupsort
mixed $_host
mixed $_limit
mixed $_maxmatches
mixed $_max_id
mixed $_mbenc
mixed $_min_id
mixed $_mode
mixed $_offset
mixed $_port
mixed $_ranker
mixed $_reqs
mixed $_retrycount
mixed $_retrydelay
mixed $_sort
mixed $_sortby
mixed $_timeout
mixed $_warning
mixed $_weights
Method Summary
SphinxClient SphinxClient ()
void AddQuery ( $query, [ $index = "*"], [ $comment = ""])
void BuildExcerpts ( $docs,  $index,  $words, [ $opts = array()])
void BuildKeywords ( $query,  $index,  $hits)
void EscapeString ( $string)
void GetLastError ()
void GetLastWarning ()
void Query ( $query, [ $index = "*"], [ $comment = ""])
void ResetFilters ()
void ResetGroupBy ()
void RunQueries ()
void SetArrayResult ( $arrayresult)
void SetConnectTimeout ( $timeout)
void SetFieldWeights ( $weights)
void SetFilter ( $attribute,  $values, [ $exclude = false])
void SetFilterFloatRange ( $attribute,  $min,  $max, [ $exclude = false])
void SetFilterRange ( $attribute,  $min,  $max, [ $exclude = false])
void SetGeoAnchor ( $attrlat,  $attrlong,  $lat,  $long)
void SetGroupBy ( $attribute,  $func, [ $groupsort = "@group desc"])
void SetGroupDistinct ( $attribute)
void SetIDRange ( $min,  $max)
void SetIndexWeights ( $weights)
void SetLimits ( $offset,  $limit, [ $max = 0], [ $cutoff = 0])
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 _Connect ()
void _GetResponse ( $fp,  $client_ver)
void _MBPop ()
void _MBPush ()
void _PackFloat ( $f)
Variables
mixed $_anchor (line 178)
mixed $_arrayresult (line 189)
mixed $_cutoff (line 175)
mixed $_error (line 184)
mixed $_fieldweights (line 182)
mixed $_filters (line 169)
mixed $_groupby (line 170)
mixed $_groupdistinct (line 173)
mixed $_groupfunc (line 171)
mixed $_groupsort (line 172)
mixed $_host (line 159)
mixed $_indexweights (line 179)
mixed $_limit (line 162)
mixed $_maxmatches (line 174)
mixed $_maxquerytime (line 181)
mixed $_max_id (line 168)
mixed $_mbenc (line 188)
mixed $_min_id (line 167)
mixed $_mode (line 163)
mixed $_offset (line 161)
mixed $_port (line 160)
mixed $_ranker (line 180)
mixed $_reqs (line 187)
mixed $_retrycount (line 176)
mixed $_retrydelay (line 177)
mixed $_sort (line 165)
mixed $_sortby (line 166)
mixed $_timeout (line 190)
mixed $_warning (line 185)
mixed $_weights (line 164)
Methods
Constructor SphinxClient (line 197)
SphinxClient SphinxClient ()
AddQuery (line 643)
void AddQuery ( $query, [ $index = "*"], [ $comment = ""])
  • $query
  • $index
  • $comment
BuildExcerpts (line 928)
void BuildExcerpts ( $docs,  $index,  $words, [ $opts = array()])
  • $docs
  • $index
  • $words
  • $opts
BuildKeywords (line 1033)
void BuildKeywords ( $query,  $index,  $hits)
  • $query
  • $index
  • $hits
EscapeString (line 1110)
void EscapeString ( $string)
  • $string
GetLastError (line 236)
void GetLastError ()
GetLastWarning (line 242)
void GetLastWarning ()
Query (line 614)
void Query ( $query, [ $index = "*"], [ $comment = ""])
  • $query
  • $index
  • $comment
ResetFilters (line 595)
void ResetFilters ()
ResetGroupBy (line 602)
void ResetGroupBy ()
RunQueries (line 732)
void RunQueries ()
SetArrayResult (line 586)
void SetArrayResult ( $arrayresult)
  • $arrayresult
SetConnectTimeout (line 257)
void SetConnectTimeout ( $timeout)
  • $timeout
SetFieldWeights (line 463)
void SetFieldWeights ( $weights)
  • $weights
SetFilter (line 499)
void SetFilter ( $attribute,  $values, [ $exclude = false])
  • $attribute
  • $values
  • $exclude
SetFilterFloatRange (line 528)
void SetFilterFloatRange ( $attribute,  $min,  $max, [ $exclude = false])
  • $attribute
  • $min
  • $max
  • $exclude
SetFilterRange (line 516)
void SetFilterRange ( $attribute,  $min,  $max, [ $exclude = false])
  • $attribute
  • $min
  • $max
  • $exclude
SetGeoAnchor (line 541)
void SetGeoAnchor ( $attrlat,  $attrlong,  $lat,  $long)
  • $attrlat
  • $attrlong
  • $lat
  • $long
SetGroupBy (line 552)
void SetGroupBy ( $attribute,  $func, [ $groupsort = "@group desc"])
  • $attribute
  • $func
  • $groupsort
SetGroupDistinct (line 569)
void SetGroupDistinct ( $attribute)
  • $attribute
SetIDRange (line 488)
void SetIDRange ( $min,  $max)
  • $min
  • $max
SetIndexWeights (line 475)
void SetIndexWeights ( $weights)
  • $weights
SetLimits (line 387)
void SetLimits ( $offset,  $limit, [ $max = 0], [ $cutoff = 0])
  • $offset
  • $limit
  • $max
  • $cutoff
SetMatchMode (line 412)
void SetMatchMode ( $mode)
  • $mode
SetMaxQueryTime (line 404)
void SetMaxQueryTime ( $max)
  • $max
SetRankingMode (line 425)
void SetRankingMode ( $ranker)
  • $ranker
SetRetries (line 576)
void SetRetries ( $count, [ $delay = 0])
  • $count
  • $delay
SetServer (line 248)
void SetServer ( $host,  $port)
  • $host
  • $port
SetSortMode (line 435)
void SetSortMode ( $mode, [ $sortby = ""])
  • $mode
  • $sortby
SetWeights (line 453)
void SetWeights ( $weights)
  • $weights
UpdateAttributes (line 1124)
void UpdateAttributes ( $index,  $attrs,  $values)
  • $index
  • $attrs
  • $values
_Connect (line 284)
void _Connect ()
_GetResponse (line 316)
void _GetResponse ( $fp,  $client_ver)
  • $fp
  • $client_ver
_MBPop (line 277)
void _MBPop ()
_MBPush (line 266)
void _MBPush ()
_PackFloat (line 634)
void _PackFloat ( $f)
  • $f

Documentation generated on Sun, 06 Mar 2011 00:25:01 -0500 by phpDocumentor 1.4.3