array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'solrquery.setomitheader.php', 1 => 'SolrQuery::setOmitHeader', 2 => 'Exclude the header from the returned results', ), 'up' => array ( 0 => 'class.solrquery.php', 1 => 'SolrQuery', ), 'prev' => array ( 0 => 'solrquery.setmltminwordlength.php', 1 => 'SolrQuery::setMltMinWordLength', ), 'next' => array ( 0 => 'solrquery.setquery.php', 1 => 'SolrQuery::setQuery', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrquery/setomitheader.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

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.