SolrQuery::getHighlightQuery

Return the highlight query

説明

public stringnull SolrQuery::getHighlightQuery()

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.

参考

  • SolrQuery::setHighlightQuery
  • SolrQuery::getHighlightFields
  • SolrQuery::setHighlightFields