« SolrQuery::setHighlightMergeContiguous
SolrQuery::setHighlightRegexMaxAnalyzedChars »

SolrQuery::setHighlightQuery

(PECL solr >= 2.7.0)

SolrQuery::setHighlightQuery — A query designated for highlighting

説明

public function SolrQuery::setHighlightQuery(string $q): SolrQuery

A query to use for highlighting and which will be set as the value of the Solr hl.q parameter. This parameter allows one to highlight different terms or fields than those being used to retrieve documents.

Default value when not set: the value of the request's q parameter.

See the » Highlighting section for more details about the Solr hl.q parameter.

パラメータ

q

Highlight Query.

戻り値

Returns the current SolrQuery object.

参考

関連キーワード:
SolrQuery   query   highlighting   parameter   setHighlightQuery   Solr   highlight   fields   setHighlightMergeContiguous   setHighlightRegexMaxAnalyzedChars   solr   different   retrieve   documents   request   Highlighting   section   Highlight   Query   getHighlightQuery   setHighlightFields   getHighlightFields   generate   highlighted   snippets
関連する関数・ページ:
solrquery.gethighlightquery   solrquery.sethighlight   solrquery.removehighlightfield   solrquery.getexpandquery   solrquery.sethighlightrequirefieldmatch   solrquery.getgroupqueries

他のマニュアルの関連ページ