SphinxClient
SphinxClient::buildExcerpts
SphinxClient
PHP Manual

# SphinxClient::addQuery

(No version information available, might be only in CVS)

SphinxClient::addQuery — Add query to multi-query batch

### Описание

public int SphinxClient::addQuery ( string `$query` [, string `$index` [, string `$comment` ]] )

Adds query with the current settings to multi-query batch. This method doesn't affect current settings (sorting, filtering, grouping etc.) in any way.

### Список параметров

`query`

  Query string.

`index`

  An index name (or names).

`comment`

### Возвращаемые значения

Returns an index in an array of results that will be returned by SphinxClient::runQueries call or false on error.

### Смотрите также

- SphinxClient::runQueries
- SphinxClient::query

SphinxClient
SphinxClient::buildExcerpts
SphinxClient
PHP Manual