SolrUtils
PHP 手册

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 手册