<?php include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc'; $TOC = array(); $TOC_DEPRECATED = array(); $PARENTS = array(); include_once dirname(__FILE__) ."/toc/class.solrquery.inc"; $setup = array ( 'home' => array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'solrquery.removefield.php', 1 => 'SolrQuery::removeField', 2 => 'Removes a field from the list of fields', ), 'up' => array ( 0 => 'class.solrquery.php', 1 => 'SolrQuery', ), 'prev' => array ( 0 => 'solrquery.removefacetquery.php', 1 => 'SolrQuery::removeFacetQuery', ), 'next' => array ( 0 => 'solrquery.removefilterquery.php', 1 => 'SolrQuery::removeFilterQuery', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrquery/removefield.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?> <div id="solrquery.removefield" class="refentry"> <div class="refnamediv"> <h1 class="refname">SolrQuery::removeField</h1> <p class="verinfo">(PECL solr >= 0.9.2)</p><p class="refpurpose"><span class="refname">SolrQuery::removeField</span> — <span class="dc-title">Removes a field from the list of fields</span></p> </div> <div class="refsect1 description" id="refsect1-solrquery.removefield-description"> <h3 class="title">说明</h3> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="methodname"><strong>SolrQuery::removeField</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$field</code></span>): <span class="type"><a href="class.solrquery.php" class="type SolrQuery">SolrQuery</a></span></div> <p class="para rdfs-comment"> Removes a field from the list of fields </p> </div> <div class="refsect1 parameters" id="refsect1-solrquery.removefield-parameters"> <h3 class="title">参数</h3> <p class="para"> <dl> <dt><code class="parameter">field</code></dt> <dd> <p class="para"> Name of the field. </p> </dd> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-solrquery.removefield-returnvalues"> <h3 class="title">返回值</h3> <p class="para"> Returns the current SolrQuery object, if the return value is used. </p> </div> </div><?php manual_footer($setup); ?>