GoLang SolrQuery::setTimeAllowed

request it (41)
GoLang replacement for PHP's SolrQuery::setTimeAllowed [edit | history]



Do you know a GoLang replacement for PHP's SolrQuery::setTimeAllowed? Write it!

PHP SolrQuery::setTimeAllowed

PHP original manual for SolrQuery::setTimeAllowed [ show | php.net ]

SolrQuery::setTimeAllowed

(PECL solr >= 0.9.2)

SolrQuery::setTimeAllowedThe time allowed for search to finish

Description

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.

Parameters

timeAllowed

The time allowed for a search to finish.

Return Values

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