lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <s...@elyograg.org>
Subject Re: Error enquiry- exceeded limit of maxWarmingSearchers=2
Date Thu, 29 May 2014 16:44:20 GMT
On 5/29/2014 7:52 AM, M, Arjun (NSN - IN/Bangalore) wrote:
> Thanks Shawn... Just one more question..
>
> Can both autoCommit and autoSoftCommit be enabled? If both are enabled, which one takes
precedence?

Yes, and it's a very common configuration.  If you do enable both, you
want openSearcher to be false on autoCommit, so that your hard commits
are not making documents visible.  That is a job for autoSoftCommit.  If
you use openSearcher=false on autoCommit, then the question of which one
takes precendence actually has no meaning, because the two kinds of
commits will be doing different things.

Read this until you completely understand it:

http://searchhub.org/2013/08/23/understanding-transaction-logs-softcommit-and-commit-in-sorlcloud/

Thanks,
Shawn


Mime
View raw message