略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: SphinxClient::buildKeywords

2024-05-03

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.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/sphinxclient.buildkeywords.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3