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

Reply via email to