php8.5
Home/ Manual/ solr / solrquery/ SolrQuery::getHighlightUsePhraseHighlighter

SolrQuery::getHighlightUsePhraseHighlighter

PHP function Edit on GitHub ✎

(PECL solr >= 0.9.2)

Returns the state of the hl.usePhraseHighlighter parameter

Description

SolrQuery::getHighlightUsePhraseHighlighter(): bool

Returns whether or not to use SpanScorer to highlight phrase terms only when they appear within the query phrase in the document.

Parameters Parameters

Return Values

Returns a boolean on success and null if not set.

Source: reference/solr/solrquery/gethighlightusephrasehighlighter.xml · from the official PHP manual (php/doc-en)