<?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 => 'de',
  ),
  'this' => 
  array (
    0 => 'solrquery.settimeallowed.php',
    1 => 'SolrQuery::setTimeAllowed',
    2 => 'The time allowed for search to finish',
  ),
  'up' => 
  array (
    0 => 'class.solrquery.php',
    1 => 'SolrQuery',
  ),
  'prev' => 
  array (
    0 => 'solrquery.settermsupperbound.php',
    1 => 'SolrQuery::setTermsUpperBound',
  ),
  'next' => 
  array (
    0 => 'class.solrdismaxquery.php',
    1 => 'SolrDisMaxQuery',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/solr/solrquery/settimeallowed.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="solrquery.settimeallowed" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SolrQuery::setTimeAllowed</h1>
  <p class="verinfo">(PECL solr &gt;= 0.9.2)</p><p class="refpurpose"><span class="refname">SolrQuery::setTimeAllowed</span> &mdash; <span class="dc-title">The time allowed for search to finish</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-solrquery.settimeallowed-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>SolrQuery::setTimeAllowed</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$timeAllowed</code></span>): <span class="type"><a href="class.solrquery.php" class="type SolrQuery">SolrQuery</a></span></div>

  <p class="para rdfs-comment">
   The time allowed for a search to finish. This value only applies to the search and not to requests in general. Time is in milliseconds. Values less than or equal to zero implies no time restriction. Partial results may be returned, if there are any.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-solrquery.settimeallowed-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">timeAllowed</code></dt>
     <dd>
      <p class="para">
       The time allowed for a search to finish.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-solrquery.settimeallowed-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   Returns the current SolrQuery object, if the return value is used.
  </p>
 </div>


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