Hi,
We have created solr queries with facet and with Time Allowed 60s but we are getting these errors:
ERROR [RemoteMessageServer query worker - 20] 2020-08-26 16:43:45,430 SolrException.java:187 - org.apache.solr.common.SolrException: Exception during facet.field: scan The request took too long to iterate over terms. Duration of 60000ms exceeded time allowed of 60000ms, TermsEnum=org.apache.lucene.codecs.blocktree.SegmentTermsEnum@14ed8ec2 Caused by: org.apache.lucene.index.ExitableDirectoryReader$ExitingReaderException: The request took too long to iterate over terms. Duration of 60000ms exceeded time allowed of 60000ms, TermsEnum=org.apache.lucene.codecs.blocktree.SegmentTermsEnum@14ed8ec2 at org.apache.lucene.index.ExitableDirectoryReader$ExitableTermsEnum.checkAndThrow(ExitableDirectoryReader.java:173) at org.apache.lucene.index.ExitableDirectoryReader$ExitableTermsEnum.<init>(ExitableDirectoryReader.java:163) at org.apache.lucene.index.ExitableDirectoryReader$ExitableTerms.iterator(ExitableDirectoryReader.java:147)
- How can we limit the number of nodes retried when the timeAllowed is exceeded ?
We tried testing with a facet limit of 5,000 instead of 20,000 and it was actually a bit worse
Thanks for your advices.