lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: Does Solr continue to processing queries and index documents during a collection reload?
Date Thu, 25 Jul 2013 02:24:30 GMT
I don't know the code in detail, but I suspect your answer is that
in general any incoming query has to be satisfied before a searcher
is closed. Any queries that are in process will hold open a reference
to the "snapshot" of the index at the time they started (i.e. the
segments current at that time). Only when those queries are
satisfied does the open count drop to 0 and the searcher is closed.

And the question about whether the core stays open is what
autowarming is all about.


On Wed, Jul 24, 2013 at 10:25 AM, Timothy Potter <> wrote:
> Quick behavior check on whether Solr continues to process queries and
> index documents during a collection reload?
> For example, after I upload new config documents to Zookeeper, I issue
> a reload command using the collections API. Of course this propagates
> a core reload across all nodes in the collection, which re-open
> searchers, etc. This can be expensive in my environment so I'm curious
> if the soon-to-be-closed core stays active until the new core is open?
> I assume yes but want to make sure.
> Thanks.
> Tim

View raw message