SphinxClient::query
(No version information available, might be only in CVS)
SphinxClient::query — Execute search query
Description
public array SphinxClient::query ( string $query [, string $index [, string $comment ]] )
Parameters
- query
-
Query string.
- index
-
An index name (or names).
- comment
-
Return Values
On 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: