SolrUtils
PHP Manual

SolrUtils::queryPhrase

(PECL solr >= 0.9.2)

SolrUtils::queryPhrasePrepares a phrase from an unescaped lucene string

Descrição

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

Prepares a phrase from an unescaped lucene string.

Parâmetros

str

The lucene phrase.

Valor Retornado

Returns the phrase contained in double quotes.


SolrUtils
PHP Manual