downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SphinxClient::buildExcerpts> <SphinxClient
Last updated: Fri, 20 Nov 2009

view this page in

SphinxClient::addQuery

(PECL sphinx >= 0.1.0)

SphinxClient::addQueryAdd query to multi-query batch

Description

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.

Parameters

query

Query string.

index

An index name (or names).

comment

Return Values

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



add a note add a note User Contributed Notes
SphinxClient::addQuery
There are no user contributed notes for this page.

SphinxClient::buildExcerpts> <SphinxClient
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites