SolrUtils
PHP Manual

SolrUtils::queryPhrase

(PECL solr >= 0.9.2)

SolrUtils::queryPhrasePrepares a phrase from an unescaped lucene string

Описание

public static string SolrUtils::queryPhrase ( string $str )

Prepares a phrase from an unescaped lucene string.

Список параметров

str

The lucene phrase.

Возвращаемые значения

Returns the phrase contained in double quotes.


SolrUtils
PHP Manual