SphinxClient::buildKeywords

(PECL sphinx >= 0.1.0)

SphinxClient::buildKeywordsExtract keywords from query

˵��

public SphinxClient::buildKeywords ( string $query , string $index , bool $hits ) : array

Extracts keywords from query using tokenizer settings for the given index, optionally with per-keyword occurrence statistics.

����

query

A query to extract keywords from.

index

An index to get tokenizing settings and keyword occurrence statistics from.

hits

A boolean flag to enable/disable keyword statistics generation.

����ֵ

Returns an array of associative arrays with per-keyword information.