If you don't need them searchable, you don't use Solr4 with transaction log and it is a relatively fast process (so it's not a pain to run it all again in case of some failure), I would just commit at the end. In any other case, I would use autocommit. Anyway, I'm not sure if you'll see much difference.
Tomás On Thu, Oct 25, 2012 at 7:42 PM, adityab <aditya_ba...@yahoo.com> wrote: > Which is the best way to commit documents to Solr when publishing larger > number of documents. for e.g around 10M to 20M documents. They are not > expected to be searchable right away. > We have Solr 3.5 implemented as Master/Repeater/Slave. > Also investigating same for Solr 4.0 with same Master/Repeater/Slave > config. > > 1. Commit it at the end when all documents are published. > 2. Or Commit it after certain time interval or number of docs by using the > autoCommit feature. > > Or any other better alternates. > > thanks > AB > > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Best-way-to-commit-data-to-Solr-tp4015921.html > Sent from the Solr - User mailing list archive at Nabble.com. >