« SolrQuery::setTermsUpperBound
SolrDisMaxQuery »

SolrQuery::setTimeAllowed

(PECL solr >= 0.9.2)

SolrQuery::setTimeAllowed — The time allowed for search to finish

説明

public function SolrQuery::setTimeAllowed(int $timeAllowed): SolrQuery

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.

パラメータ

timeAllowed

The time allowed for a search to finish.

戻り値

Returns the current SolrQuery object, if the return value is used.

関連キーワード:
SolrQuery   time   allowed   finish   setTimeAllowed   timeAllowed   setTermsUpperBound   SolrDisMaxQuery   solr   applies   requests   Time   milliseconds   Values   less   equal   implies   restriction   Partial   results   returned   there   current   return   used
関連する関数・ページ:
solrquery.gettimeallowed   solrquery.addfield   solrquery.getfacetsort   solrquery.settermsupperbound   solrquery.construct   solrquery.addhighlightfield