PHP 8.4.0 RC4 available for testing

SolrQuery::getHighlightQuery

(PECL solr >= 2.7.0)

SolrQuery::getHighlightQueryreturn the highlightquery (hl.q)

Description

public SolrQuery::getHighlightQuery(): string

Returns previously set highlight query. This parameter allows you to highlight different terms or fields than those being used to retrieve documents.

Parameters

This function has no parameters.

Return Values

Returns the current SolrHighlightQuery string, or null if not set.

add a note

User Contributed Notes

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