Your <maxDocs> is set to 1. This is the number of pending docs before autocommit is triggered too. You should set it to a higher value like 10000, for example.
Edward Em 30/07/2015 11:43, "Nitin Solanki" <nitinml...@gmail.com> escreveu: > Hi, > I am trying to index documents using solr cloud. After setting, > <maxTime> to 60000 ms in hard commit. Documents are visible instantly while > adding them. Not commiting after 60000 ms. > I have added Solr log. Please check it. I am not getting exactly what is > happening. > > *CURL to commit documents:* > > curl http://localhost:8983/solr/test/update/json -H > 'Content-type:application/json' -d '<json-here>' > > *Solrconfig.xml:* > <autoCommit> > <maxDocs>1</maxDocs> > <maxTime>60000</maxTime> > <openSearcher>false</openSearcher> > </autoCommit> > <!--<autoSoftCommit> --> > <!-- <maxTime>${solr.autoSoftCommit.maxTime:-1}</maxTime> --> > <!--</autoSoftCommit>--> > > > *Solr Log: * > INFO - 2015-07-30 14:14:12.636; [test shard6 core_node2 > test_shard6_replica1] org.apache.solr.update.processor.LogUpdateProcessor; > [test_shard6_replica1] webapp=/solr path=/update > > params={update.distrib=FROMLEADER&waitSearcher=true&openSearcher=true&commit=true&softCommit=false&distrib.from= > > http://100.77.202.145:8983/solr/test_shard2_replica1/&commit_end_point=true&wt=javabin&version=2&expungeDeletes=false > } > {commit=} 0 26 >