SolrUtils::queryPhrase
(PECL solr >= 0.9.2)
SolrUtils::queryPhrase — Prepares a phrase from an unescaped lucene string
Description
public static string SolrUtils::queryPhrase
( string $str
)
Prepares a phrase from an unescaped lucene string.
Parameters
- str
-
The lucene phrase.
Return Values
Returns the phrase contained in double quotes.