PHP 5.4.36 Released

SolrQuery::setTimeAllowed

(PECL solr >= 0.9.2)

SolrQuery::setTimeAllowedThe time allowed for search to finish

Opis

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.

Parametry

timeAllowed

The time allowed for a search to finish.

Zwracane wartości

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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top