Thanks for your response Jonathon. Please correct me if I am wrong in following points. -query actually ceases to run once time allowed is reached and releases all the resources. -query expansion is stopped and the query is terminated from execution releasing all the resources.
Thanks, Modassar On Tue, Aug 25, 2015 at 4:46 PM, Jonathon Marks (BLOOMBERG/ LONDON) < jmark...@bloomberg.net> wrote: > timeAllowed applies to the time taken by the collector in each shard > (TimeLimitingCollector). Once timeAllowed is exceeded the collector > terminates early, returning any partial results it has and freeing the > resources it was using. > From Solr 5.0 timeAllowed also applies to the query expansion phase and > SolrClient request retry. > > From: solr-user@lucene.apache.org At: Aug 25 2015 10:18:07 > Subject: Re:Query timeAllowed and its behavior. > > Hi, > > Kindly help me understand the query time allowed attribute. The following > is set in solrconfig.xml. > <int name="timeAllowed">300000</int> > > Does this setting stop the query from running after the timeAllowed is > reached? If not is there a way to stop it as it will occupy resources in > background for no benefit. > > Thanks, > Modassar > > >