SolrQuery::getHighlightQuery

(PECL solr >= 2.7.0)

SolrQuery::getHighlightQueryreturn 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.

参数

此函数没有参数。

返回值

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