<?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.setexpandquery.php',
    1 => 'SolrQuery::setExpandQuery',
    2 => 'Sets the expand.q parameter',
  ),
  'up' => 
  array (
    0 => 'class.solrquery.php',
    1 => 'SolrQuery',
  ),
  'prev' => 
  array (
    0 => 'solrquery.setexpand.php',
    1 => 'SolrQuery::setExpand',
  ),
  'next' => 
  array (
    0 => 'solrquery.setexpandrows.php',
    1 => 'SolrQuery::setExpandRows',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/solr/solrquery/setexpandquery.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="solrquery.setexpandquery" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SolrQuery::setExpandQuery</h1>
  <p class="verinfo">(PECL solr &gt;= 2.2.0)</p><p class="refpurpose"><span class="refname">SolrQuery::setExpandQuery</span> &mdash; <span class="dc-title">Sets the expand.q parameter</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-solrquery.setexpandquery-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>SolrQuery::setExpandQuery</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$q</code></span>): <span class="type"><a href="class.solrquery.php" class="type SolrQuery">SolrQuery</a></span></div>

  <p class="para rdfs-comment">
    Sets the expand.q parameter. 
  </p>
  <p class="para">
    Overrides the main q parameter, 
    determines which documents to include in the main group.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-solrquery.setexpandquery-parameters">
  <h3 class="title">参数</h3>
  <dl>
   
    <dt><code class="parameter">q</code></dt>
    <dd>
     <p class="para">
      
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-solrquery.setexpandquery-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   <span class="type"><a href="class.solrquery.php" class="type SolrQuery">SolrQuery</a></span>
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-solrquery.setexpandquery-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li><span class="methodname"><a href="solrquery.setexpand.php" class="methodname" rel="rdfs-seeAlso">SolrQuery::setExpand()</a> - Enables/Disables the Expand Component</span></li>
   <li><span class="methodname"><a href="solrquery.addexpandsortfield.php" class="methodname" rel="rdfs-seeAlso">SolrQuery::addExpandSortField()</a> - Orders the documents within the expanded groups (expand.sort parameter)</span></li>
   <li><span class="methodname"><a href="solrquery.removeexpandsortfield.php" class="methodname" rel="rdfs-seeAlso">SolrQuery::removeExpandSortField()</a> - Removes an expand sort field from the expand.sort parameter</span></li>
   <li><span class="methodname"><a href="solrquery.setexpandrows.php" class="methodname" rel="rdfs-seeAlso">SolrQuery::setExpandRows()</a> - Sets the number of rows to display in each group (expand.rows). Server Default 5</span></li>
   <li><span class="methodname"><a href="solrquery.addexpandfilterquery.php" class="methodname" rel="rdfs-seeAlso">SolrQuery::addExpandFilterQuery()</a> - Overrides main filter query, determines which documents to include in the main group</span></li>
   <li><span class="methodname"><a href="solrquery.removeexpandfilterquery.php" class="methodname" rel="rdfs-seeAlso">SolrQuery::removeExpandFilterQuery()</a> - Removes an expand filter query</span></li>
  </ul>
 </div>

</div><?php manual_footer($setup); ?>