Thanks Sean. That clears up the timer concept. Is there any other way through which I can make sure that the server time is not wasted?
-----Original Message----- From: Sean Timm [mailto:tim...@aol.com] Sent: Wednesday, February 18, 2009 1:00 AM To: solr-user@lucene.apache.org Subject: Re: Query regarding setTimeAllowed(Integer) and setRows(Integer) Jana, Kumar Raja wrote: > 2. If I set SolrQuery.setTimeAllowed(2000) Will this kill query > processing after 2 secs? (I know this question sounds silly but I just > want a confirmation from the experts J That is the idea, but only some of the code is within the timer. So, there are cases where a query could exceed the timeAllowed specified because the bulk of the work for that particular query is not in the actual collect, for example, an expensive range query. -Sean