PHP » GoLang |
login |
register |
about
|
GoLang SphinxClient::query
request it (389)
GoLang replacement for PHP's SphinxClient::query
[edit | history]
SphinxClient::query(PECL sphinx >= 0.1.0) SphinxClient::query — Execute search query Description
public array SphinxClient::query
( string
$query
[, string $index = "*"
[, string $comment = ""
]] )Connects to searchd server, runs the given search query with the current settings, obtains and returns the result set. Parameters
Return ValuesOn success, SphinxClient::query() returns a list of found matches and additional per-query statistics. The result set is a hash utilize other structures instead of hash) with the following keys and values:
|
more
Recently updated
more
Most requested
more
Last requests
|