SolrUtils::queryPhrase

(PECL solr >= 0.9.2)
Prepares a phrase from an unescaped lucene string
public static string SolrUtils::queryPhrase ( string $str )

Prepares a phrase from an unescaped lucene string.

Parameters:
str

The lucene phrase.

Returns:

Returns the phrase contained in double quotes.

doc_php
2016-02-24 16:10:41
Comments
Leave a Comment

Please login to continue.