Also note SOLR-5986 which will help in such cases when queries are stuck iterating through terms. This will be released with Solr 5.0
On Fri, Dec 19, 2014 at 9:14 AM, Mikhail Khludnev < mkhlud...@griddynamics.com> wrote: > > Hello, > Note, that timeout is checked only during the search. But for example, it > isn't checked during facet counting. Check debugQuery=true output, to > understand how the processing time is distributed across components. > > On Fri, Dec 19, 2014 at 12:05 PM, Vishnu Mishra <vdil...@gmail.com> wrote: > > > > Hi, I am using solr 4.9 for searching over 90 million+ documents. My > Solr > > is > > running on tomcat server and I am querying Solr from an application. I > > have a problem with long-running queries against Solr. Although I have > set > > timeAllowed to 40000ms, but it seems that solr still running this query > > until it processed fully. I read some articles where it is written that > > > > "*Internally, Solr does nothing to time out any requests -- it lets both > > updates and queries take however long they need to take to be processed > > fully.*" > > > > Is this what Solr does? If so, is there a configuration option to change > > this behavior? or can I interrupt solr query execution. > > > > > > > > -- > > View this message in context: > > > http://lucene.472066.n3.nabble.com/How-To-Interrupt-Solr-Query-Execution-tp4175190.html > > Sent from the Solr - User mailing list archive at Nabble.com. > > > > > -- > Sincerely yours > Mikhail Khludnev > Principal Engineer, > Grid Dynamics > > <http://www.griddynamics.com> > <mkhlud...@griddynamics.com> > -- Regards, Shalin Shekhar Mangar.