It looks you're committing too frequently. If you're explicitly committing from the application you may want to switch to using autoCommits. If you're not committing from the application your autocommit settings are probably too low.
Joel Bernstein Search Engineer at Heliosearch On Wed, Jul 23, 2014 at 4:41 PM, Ameya Aware <ameya.aw...@gmail.com> wrote: > Hi, > > I am kind of in trouble regarding indexing documents using Solr. > > After every 15-20 documents, Solr gives below log: > > INFO - 2014-07-23 15:38:50.715; org.apache.solr.core.SolrDeletionPolicy; > newest commit generation = 994 > INFO - 2014-07-23 15:38:50.718; org.apache.solr.search.SolrIndexSearcher; > Opening Searcher@41ffd00c[collection1] realtime > INFO - 2014-07-23 15:38:50.719; > org.apache.solr.update.DirectUpdateHandler2; end_commit_flush > > And stops for a minute or so. > > This is affecting throughput very badly. > > Anything wrong here? > > > Thanks, > Ameya >