Hi, If you don't need the searcher to see index changes (new docs) during your indexing, just wait until you are done and commit/optimize at the end.
Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: pof <melbournebeerba...@gmail.com> > To: solr-user@lucene.apache.org > Sent: Monday, June 22, 2009 2:31:53 AM > Subject: Sorlj when to commit? > > > Hi, I am doing a large batch (thousands) of insertions to my index using an > EmbeddedSolrServer. I was wondering how often should I use server.commit() > as I am trying to avoid unecessary bottlenecks. > > Thanks, Brett. > -- > View this message in context: > http://www.nabble.com/Sorlj-when-to-commit--tp24142326p24142326.html > Sent from the Solr - User mailing list archive at Nabble.com.