SolrQuery
PHP Manual

SolrQuery::setOmitHeader

(PECL solr >= 0.9.2)

SolrQuery::setOmitHeaderExclude the header from the returned results

说明

publicSolrQuery 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 Manual