SphinxClient::buildKeywords
(PECL sphinx >= 0.1.0)
SphinxClient::buildKeywords — キーワードをクエリから抽出する
説明
public array SphinxClient::buildKeywords
( string $query
, string $index
, bool $hits
)
query からキーワードを抽出します。 index で、トークナイザ設定 およびオプションでキーワード単位の出現統計情報を指定します。
パラメータ
- query
-
キーワードを抽出するクエリ。
- index
-
トークン化の設定とキーワード出現統計情報を取得するインデックス。
- hits
-
キーワード統計情報の生成を有効/無効にするフラグ。
返り値
キーワード単位の情報を含む連想配列の配列を返します。
There are no user contributed notes for this page.
