Php/docs/solrquery.setomitheader

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

SolrQuery::setOmitHeader

(PECL solr >= 0.9.2)

SolrQuery::setOmitHeaderExclude the header from the returned results


说明

public SolrQuery::setOmitHeader ( bool $flag ) : SolrQuery

Exclude the header from the returned results.


参数

flag
true excludes the header from the result.


返回值

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