SolrUtils
PHP Manual

SolrUtils::queryPhrase

(PECL solr >= 0.9.2)

SolrUtils::queryPhrasePrepares a phrase from an unescaped lucene string

Opis

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

Prepares a phrase from an unescaped lucene string.

Parametry

str

The lucene phrase.

Zwracane wartoĊ›ci

Returns the phrase contained in double quotes.


SolrUtils
PHP Manual