Php/docs/solrquery.gethighlightrequirefieldmatch

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

SolrQuery::getHighlightRequireFieldMatch

(PECL solr >= 0.9.2)

SolrQuery::getHighlightRequireFieldMatchReturns if a field will only be highlighted if the query matched in this particular field


说明

public SolrQuery::getHighlightRequireFieldMatch ( ) : bool

Returns if a field will only be highlighted if the query matched in this particular field.


参数

此函数没有参数。


返回值

Returns a boolean on success and null if not set.