Re: prepareCommit vs Commit

2013-10-16 Thread Phani Chaitanya
Thanks Shalin. Will post it there too. - Phani Chaitanya -- View this message in context: http://lucene.472066.n3.nabble.com/prepareCommit-vs-Commit-tp4095545p4095916.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: prepareCommit vs Commit

2013-10-15 Thread Shalin Shekhar Mangar
The IndexWriter javadocs describe it pretty well: http://lucene.apache.org/core/4_5_0/core/org/apache/lucene/index/IndexWriter.html#prepareCommit() My limited understanding is that new segments are opened on indexing requests if prepareCommit has already been called and/or the segments are ready t