Php/docs/solrquery.sethighlightmergecontiguous

来自菜鸟教程
跳转至:导航、​搜索

SolrQuery::setHighlightMergeContiguous

(PECL solr >= 0.9.2)

SolrQuery::setHighlightMergeContiguousWhether or not to collapse contiguous fragments into a single fragment


说明

public SolrQuery::setHighlightMergeContiguous ( bool $flag [, string $field_override ] ) : SolrQuery

Whether or not to collapse contiguous fragments into a single fragment


参数

value
Whether or not to collapse contiguous fragments into a single fragment
field_override
The name of the field.


返回值

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