Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 11675

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The time allowed for search to finish</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="solrquery.settermsupperbound.html">SolrQuery::setTermsUpperBound</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.solrexception.html">SolrException</a></div>
 <div class="up"><a href="class.solrquery.html">SolrQuery</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><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">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type"><a href="class.solrquery.html" class="type SolrQuery">SolrQuery</a></span> <span class="methodname"><strong>SolrQuery::setTimeAllowed</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$timeAllowed</code></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">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">timeAllowed</code></em></span>
     <dd>

      <p class="para">
       The time allowed for a search to finish.
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>


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


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="solrquery.settermsupperbound.html">SolrQuery::setTermsUpperBound</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.solrexception.html">SolrException</a></div>
 <div class="up"><a href="class.solrquery.html">SolrQuery</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>