Re: Solr restricting time-consuming/heavy processing queries

2019-08-13 Thread Mark Robinson
Thank you Jan for the reply. I will try it out. Best, Mark. On Mon, Aug 12, 2019 at 6:29 PM Jan Høydahl wrote: > I have never used such settings, but you could check out > https://lucene.apache.org/solr/guide/8_1/common-query-parameters.html#segmentterminateearly-parameter > which will allow yo

Re: Solr restricting time-consuming/heavy processing queries

2019-08-12 Thread Mark Robinson
Hi Jan, Thanks for the reply. Our normal search times is within 650 ms. We were analyzing some queries and found that few of them were like 14675 ms, 13767 ms etc... So was curious to see whether we have some way to restrict the query to not run beyond say 5s or some ideal timing in SOLR even if

Re: Solr restricting time-consuming/heavy processing queries

2019-08-11 Thread Jan Høydahl
What is the root use case you are trying to solve? What kind of solr install is this and do you not have control over the clients or what is the reason that users overload your servers? Normally you would scale the cluster to handle normal expected load instead of trying to give users timeout e

Re: Solr restricting time-consuming/heavy processing queries

2019-08-11 Thread Mark Robinson
Hello, Could someone share their thoughts please or point to some link that helps understand my above queries? In the Solr documentation I came across a few lines on timeAllowed and shardHandler, but if there was an example scenario for both it would help understand them more thoroughly. Also curio