在线文档教程
PHP
Solr

SolrUtils::queryPhrase

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.

← SolrUtils::getSolrVersion

SolrInputDocument →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/solrutils.queryphrase.php