编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « SolrQuery::addGroupSortField
  • SolrQuery::addMltField »
  • PHP Manual
  • SolrQuery
  • Maps to hl.fl

SolrQuery::addHighlightField

(PECL solr >= 0.9.2)

SolrQuery::addHighlightField — Maps to hl.fl

说明

public SolrQuery::addHighlightField ( string $field ) : SolrQuery

Maps to hl.fl. This is used to specify that highlighted snippets should be generated for a particular field

参数

field

Name of the field

返回值

Returns the current SolrQuery object, if the return value is used.

相关文章
php solrquery maps to facet.datephp solrquery allows grouping of documents that match the given queryphp solrquery maps to hl.flphp solrquery maps to mlt.qfphp solrquery maps to stats.field parameterphp solrquery returns the value of the facet parameterphp solrquery returns the list of fields that will be returned in the responsephp solrquery returns the state of the hl parameterphp solrquery returns the highlight field to use as backup or defaultphp solrquery returns the state of the hl.usephrasehighlighter parameterphp solrquery returns whether or not stats is enabledphp solrquery removes an expand filter queryphp solrquery maps to the facet parameter. enables or disables facettingphp solrquery maps to facet.date.endphp solrquery maps to facet.date.gapphp solrquery maps to facet.date.hardendphp solrquery maps to facet.date.startphp solrquery maps to facet.limitphp solrquery maps to facet.mincountphp solrquery maps to facet.missing
关注编程学问公众号
编程学问网 湘ICP备20001732号