PHP 8.6.0 Beta 3 is available for testing

SolrQuery::getHighlightQuery

(PECL solr >= 2.7.0)

SolrQuery::getHighlightQueryReturn the highlight query

Опис

public function SolrQuery::getHighlightQuery(): ?string

Returns previously set highlight query from the hl.q parameter. This parameter allows you to highlight different terms or fields than those being used to retrieve documents. See the » Highlighting section for more details.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Returns a string that contains the highlight query of the current SolrQuery, or null if highlight query is not set.

Прогляньте також

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top