SolrUtils
PHP Manual

SolrUtils::queryPhrase

(PECL solr >= 0.9.2)

SolrUtils::queryPhrasePrepares a phrase from an unescaped lucene string

Descrierea

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

Prepares a phrase from an unescaped lucene string.

Parametri

str

The lucene phrase.

Valorile întoarse

Returns the phrase contained in double quotes.


SolrUtils
PHP Manual