php教程

SphinxClient::addQuery

(PECL sphinx >= 0.1.0)

SphinxClient::addQueryAdd query to multi-query batch

说明

public SphinxClient::addQuery ( string $query [, string $index = "*" [, string $comment = "" ]] ) : int

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.

User Contributed Notes

There are no user contributed notes for this page.

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788