bq: because shouldn't there only be one active
searcher at a time?

Kind of. This is a total nit, but there can be multiple
searchers serving queries briefly (one hopes at least).
S1 is serving some query when S2 becomes
active and starts getting new queries. Until the last
query S1 is serving is complete, they both are active.

bq: why is there a setting
(maxWarmingSearchers) that even lets
you have more than one

The contract is that when you commit (assuming
you're opening a new searcher), then all docs
indexed up to that point are visible. Therefore you
_must_ open a new searcher even if one is currently
warming or that contract would be violated. Since
warming can take minutes, not opening a new
searcher if one was currently warming could cause
quite a gap.


Best,
Erick

On Fri, Dec 9, 2016 at 7:30 AM, Brent <brent.pear...@gmail.com> wrote:
> Hmmm, conflicting answers. Given the infamous "PERFORMANCE WARNING:
> Overlapping onDeckSearchers" log message, it seems like the "they're the
> same" answer is probably correct, because shouldn't there only be one active
> searcher at a time?
>
> Although it makes me curious, if there's a warning about having multiple
> (overlapping) warming searchers, why is there a setting
> (maxWarmingSearchers) that even lets you have more than one, or at least,
> why ever set it to anything other than 1?
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/on-deck-searcher-vs-warming-searcher-tp4309021p4309080.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to