(PECL sphinx >= 0.1.0)
Execute search query
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:
query
Query string.
index
An index name (or names).