编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 adds another facet.date.other parameterphp solrquery maps to hl.flphp solrquery maps to mlt.qfphp solrquery maps to stats.field parameterphp solrquery constructorphp solrquery returns the value of the facet.method parameterphp solrquery returns the group.main valuephp solrquery returns the state of the hl parameterphp solrquery returns the maximum number of characters from a field when using the regex fragmenterphp solrquery returns the state of the hl.usephrasehighlighter parameterphp solrquery returns the frequency below which terms will be ignored in the source documentphp 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号