(PECL solr >= 0.9.2)
SolrUtils::queryPhrase — Prepares a phrase from an unescaped lucene string
public static SolrUtils::queryPhrase(string $str): string
Prepares a phrase from an unescaped lucene string.
strThe lucene phrase.
Returns the phrase contained in double quotes.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/solrutils.queryphrase.php