SolrQuery
PHP 手册

SolrQuery::setOmitHeader

(PECL solr >= 0.9.2)

SolrQuery::setOmitHeaderExclude the header from the returned results

说明

public SolrQuery SolrQuery::setOmitHeader ( bool $flag )

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.


SolrQuery
PHP 手册