update : 2015.11.03
php.shukuma.com

검색:
 
 
The time allowed for search to finish

SolrQuery::setTimeAllowed

(PECL solr >= 0.9.2)

SolrQuery::setTimeAllowedThe time allowed for search to finish

설명

public SolrQuery SolrQuery::setTimeAllowed ( int $timeAllowed )

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.