(PECL solr >= 2.7.0)
SolrQuery::getHighlightQuery — return the highlightquery (hl.q)
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.
This function has no parameters.
Returns the current SolrHighlightQuery string, or null if not set.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/solrquery.gethighlightquery.php