Re: timeAllowed flag in the response

2012-06-09 Thread Lance Norskog
Please file a JIRA. And a patch if you are so inclined. On Fri, Jun 8, 2012 at 4:55 AM, Michael Kuhlmann wrote: > Am 08.06.2012 11:55, schrieb Laurent Vaills: > >> Hi Michael, >> >> Thanks for the details that helped me to take a deeper look in the source >> code. I noticed that each time a TimeE

Re: timeAllowed flag in the response

2012-06-08 Thread Michael Kuhlmann
Am 08.06.2012 11:55, schrieb Laurent Vaills: Hi Michael, Thanks for the details that helped me to take a deeper look in the source code. I noticed that each time a TimeExceededException is caught the method setPartialResults(true) is called...which seems to be what I'm looking for. I have to i

Re: timeAllowed flag in the response

2012-06-08 Thread Laurent Vaills
Hi Michael, Thanks for the details that helped me to take a deeper look in the source code. I noticed that each time a TimeExceededException is caught the method setPartialResults(true) is called...which seems to be what I'm looking for. I have to investigate, since this partialResults does not s

Re: timeAllowed flag in the response

2012-06-08 Thread Michael Kuhlmann
Hi Laurent, alas there is currently no such option. The time limit is handled by an internal TimeLimitingCollector, which is used inside SolrIndexSearcher. Since the using method only returns the DocList and doesn't have access to the QueryResult, it won't be easy to return this information in

Re: timeAllowed flag in the response

2012-06-07 Thread Walter Underwood
Are you requesting a large number of rows? If so, request smaller chunks, like ten at a time. Then you can show those with a "waiting" note. wunder On Jun 7, 2012, at 1:14 PM, Laurent Vaills wrote: > Hi everyone, > > We have some grouping queries that are quite long to execute. Some are too >