编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 add a field to be used to group resultsphp solrquery maps to hl.flphp solrquery maps to mlt.qfphp solrquery maps to stats.field parameterphp solrquery returns the number of rows to display in each group expand.rows php solrquery returns all the facet queriesphp solrquery returns the group.truncate valuephp solrquery returns the state of the hl parameterphp solrquery returns the text which appears before a highlighted termphp solrquery returns the state of the hl.usephrasehighlighter parameterphp solrquery returns all the sort fieldsphp 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号