Новости | Документация | Download | Webboard | FAQ | Поиск | Контакты


SphinxClient::buildKeywords

(PECL sphinx >= 0.1.0)

SphinxClient::buildKeywordsExtract keywords from query

Описание

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

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.






  Copyright Apache.ru © 1999-2017, All Rights Reserved Разработка сайта: Inside.ru  
  РЕКЛАМА НА САЙТЕ: |