PHP - Manual: SphinxClient::addQuery
2024-12-22
(PECL sphinx >= 0.1.0)
SphinxClient::addQuery — Add query to multi-query batch
$query
[, string $index
= "*"
[, string $comment
= ""
]] ) : intAdds 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.
官方地址:https://www.php.net/manual/en/sphinxclient.addquery.php