= 0.9.2)SolrQuery::addHighlightField — Maps to hl.fl說(shuō)明public SolrQuery::addHighlightField(string $field): Solr">

SolrQuery::addHighlightField

(PECL solr >= 0.9.2)

SolrQuery::addHighlightFieldMaps to hl.fl

說(shuō)明

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

參數(shù)

field

Name of the field

返回值

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