Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SolrQuery::setTermsUpperBoundSolrDisMaxQuery>
^SolrQueryLast updated: Mon, 26 Oct 2026

SolrQuery::setTimeAllowed

(PECL solr >= 0.9.2)

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

Description

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.

Parameters

timeAllowed

The time allowed for a search to finish.

Return Values

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


<SolrQuery::setTermsUpperBoundSolrDisMaxQuery>
^SolrQueryLast updated: Mon, 26 Oct 2026