SolrUtils
PHP Manual

SolrUtils::queryPhrase

(PECL solr >= 0.9.2)

SolrUtils::queryPhrasePrepares a phrase from an unescaped lucene string

Beschreibung

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

Prepares a phrase from an unescaped lucene string.

Parameter-Liste

str

The lucene phrase.

Rückgabewerte

Returns the phrase contained in double quotes.


SolrUtils
PHP Manual