Hi,
I am using timeAllowed and a collection with shards.
Docs list contains results only if QTime(query time) < timeAllowed.
In other cases (partialResults=true in responseHeader) docs are empty.
/solr/collection_with_shards/select?etimeAllowed=1000&q=some_slow_query
docs is empty
If access a spe
Thanks Colvin!
All the responses were helpful.
Best
Mark
On Wed, Sep 16, 2020 at 4:06 AM Colvin Cowie
wrote:
> Hi Mark,
>
> If queries taking 10 (or however many) seconds isn't acceptable, then
> either you need to a) prevent or optimize those queries, b) improve the
> performance of your index
Thanks much Bram!
Best,
Mark
On Wed, Sep 16, 2020 at 3:59 AM Bram Van Dam wrote:
> There are a couple of open issues related to the timeAllowed parameter.
> For instance it currently doesn't work on conjunction with the
> cursorMark parameter [1]. And on Solr 7 it doesn't work at all [2].
>
> B
Hi Mark,
If queries taking 10 (or however many) seconds isn't acceptable, then
either you need to a) prevent or optimize those queries, b) improve the
performance of your index, c) use timeAllowed and accept that queries
taking that long may fail or provide incomplete results, or d) a
combination
There are a couple of open issues related to the timeAllowed parameter.
For instance it currently doesn't work on conjunction with the
cursorMark parameter [1]. And on Solr 7 it doesn't work at all [2].
But other than that, when users have a lot of query flexibility, it's a
pretty good idea to lim
Thanks Dominique!
So is this parameter generally recommended or not. I wanted to try with a
value of 10s. We are not using it now.
My goal is to prevent a query from running more than 10s on the solr server
and choking it.
What is the general recommendation.
Thanks!
Mark
On Tue, Sep 15, 2020 at
Hi,
1. Yes, your analysis is correct
2. Yes, it can occurs too with very slow query.
Regards
Dominique
Le mar. 15 sept. 2020 à 15:14, Mark Robinson a
écrit :
> Hi,
>
> When in a sample query I used "timeAllowed" as low as 10mS, I got value for
>
> "numFound" as say 2000, but no docs were ret
Hi,
When in a sample query I used "timeAllowed" as low as 10mS, I got value for
"numFound" as say 2000, but no docs were returned. But when I increased the
value for timeAllowed to be in seconds, never got this scenario.
I have 2 qns:-
1. Why does numFound have a value like say 2000 or even 6000 b