<?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.getmltfields.php', 1 => 'SolrQuery::getMltFields', 2 => 'Returns all the fields to use for similarity', ), 'up' => array ( 0 => 'class.solrquery.php', 1 => 'SolrQuery', ), 'prev' => array ( 0 => 'solrquery.getmltcount.php', 1 => 'SolrQuery::getMltCount', ), 'next' => array ( 0 => 'solrquery.getmltmaxnumqueryterms.php', 1 => 'SolrQuery::getMltMaxNumQueryTerms', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/solr/solrquery/getmltfields.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?> <div id="solrquery.getmltfields" class="refentry"> <div class="refnamediv"> <h1 class="refname">SolrQuery::getMltFields</h1> <p class="verinfo">(PECL solr >= 0.9.2)</p><p class="refpurpose"><span class="refname">SolrQuery::getMltFields</span> — <span class="dc-title">Returns all the fields to use for similarity</span></p> </div> <div class="refsect1 description" id="refsect1-solrquery.getmltfields-description"> <h3 class="title">说明</h3> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="methodname"><strong>SolrQuery::getMltFields</strong></span>(): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div> <p class="para rdfs-comment"> Returns all the fields to use for similarity </p> </div> <div class="refsect1 parameters" id="refsect1-solrquery.getmltfields-parameters"> <h3 class="title">参数</h3> <p class="para">此函数没有参数。</p> </div> <div class="refsect1 returnvalues" id="refsect1-solrquery.getmltfields-returnvalues"> <h3 class="title">返回值</h3> <p class="para"> Returns an array on success and <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> if not set. </p> </div> </div><?php manual_footer($setup); ?>