Re: Auto Commit and Hard Commit being differentiated

2015-02-22 Thread Erick Erickson
No. This has openSearcher set to false, which means that the index
segment will be closed, the docs are not visible for search.

Please take the time, as Shawn suggested on the JIRA, to read this blog.

https://lucidworks.com/blog/understanding-transaction-logs-softcommit-and-commit-in-sorlcloud/

Best,
Erick

On Sun, Feb 22, 2015 at 2:01 PM, Deepak Vohra
dvohr...@yahoo.com.invalid wrote:
  In the SOLR-7133 issue hard commit and auto commit are being differentiated, 
 but aren't they the same? Doesn't the following setting apply a hard commit?
 autoCommit
  maxTime${solr.autoCommit.maxTime:15000} /maxTime
  openSearcherfalse/openSearcher
  /autoCommit
 https://issues.apache.org/jira/browse/SOLR-7133



Auto Commit and Hard Commit being differentiated

2015-02-22 Thread Deepak Vohra
 In the SOLR-7133 issue hard commit and auto commit are being differentiated, 
but aren't they the same? Doesn't the following setting apply a hard commit?
autoCommit 
 maxTime${solr.autoCommit.maxTime:15000} /maxTime 
 openSearcherfalse/openSearcher 
 /autoCommit
https://issues.apache.org/jira/browse/SOLR-7133



Re: Auto Commit and Hard Commit being differentiated

2015-02-22 Thread Shawn Heisey
On 2/22/2015 3:01 PM, Deepak Vohra wrote:
  In the SOLR-7133 issue hard commit and auto commit are being differentiated, 
 but aren't they the same? Doesn't the following setting apply a hard commit?
 autoCommit 
  maxTime${solr.autoCommit.maxTime:15000} /maxTime 
  openSearcherfalse/openSearcher 
  /autoCommit
 https://issues.apache.org/jira/browse/SOLR-7133

The autoCommit settings in Solr control the automatic application of
hard commits on the basis of a certain amount of time passing or a
certain number of documents indexed.  Similarly, the autoSoftCommit
settings control the automatic application of soft commits.

In that sense, you could say that autoCommit and a hard commit are the
same ... except that one executes the other.

Thanks,
Shawn