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 > long to execute and are not acceptable. We have setup timeout for the > socket but with this we get no result and the query is still running on the > Solr side. > So, we are now using the timeAllowed parameter which is a good compromise. > However, in the response, how can we know that the query was "stopped" > because it was too long ? > > I need this information for monitoring and to tell the user that the > results are not complete. > > Regards, > Laurent