SphinxClient::query

SphinxClient::query

(PECL sphinx >= 0.1.0)

SphinxClient::queryExecute 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

query

Query string.

index

An index name (or