SphinxClient::addQuery

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.

© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://secure.php.net/manual/en/sphinxclient.addquery.php

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部