Yes, indexing synchronized during commits. You can call commit all you want, and index docs, and commit will finish and then indexing will restart. Previous Solr release did this also; how far back is your existing Solr?
On Thu, Sep 2, 2010 at 1:11 PM, Robert Petersen <rober...@buy.com> wrote: > Hello sorry to bother but does anyone know the answer to this? This is > the closest thing I can find on the subject: > > http://lucene.472066.n3.nabble.com/Autocommit-blocking-adds-AutoCommit-S > peedup-td498465.html > > -----Original Message----- > From: Robert Petersen [mailto:rober...@buy.com] > Sent: Wednesday, September 01, 2010 11:35 AM > To: solr-user@lucene.apache.org > Subject: Do commits block updates in SOLR 1.4? > > I can't seem to find a definitive answer. I have ten threads doing my > indexing and I block all the threads when one is ready to do a commit so > no adds are done until the commit finishes. Is this still required in > SOLR 1.4 or could I take it out? I tried testing this on a separate > small index where I set autocommit in solrconfig and seem to have no > issues just continuously adding documents from multiple threads to it > despite its commit activity. I'd like to do the same in my big main > index, is it safe? > > > > Also, is there any difference in behavior between autocommits and > explicit commits in this regard? > > > > > > -- Lance Norskog goks...@gmail.com