Hi Mark, and all I now use commit configuration exactly as below:
<autoCommit> <maxTime>100000</maxTime> </autoCommit> <autoSoftCommit> <maxTime>1000</maxTime> </autoSoftCommit> But the commit time takes about 60 seconds. I have around 1200000 - 1300000 documents in my server. And each day, the number will increase about 6000. My symptom is if solr server is just started, the commit time is about 3-5 seconds. But after one day time, the commit time increase substantially to about 1 min. Do I missed anything or had any mis-configuration? Thanks very much for any help in advance. Spark 2011/12/7 yu shen <shenyu...@gmail.com> > Thanks for the correction, I did not notice that [?] > > Spark > > > 2011/12/7 Mark Miller <markrmil...@gmail.com> > >> Well, if that is exactly what you put, it's wrong. That second one should >> be softAutoCommit. >> >> On Wednesday, December 7, 2011, yu shen <shenyu...@gmail.com> wrote: >> > Hi All, >> > >> > I tried using solr 4 nightly build: apache-solr-4.0-2011-12-06_08-52-46. >> > And try to enable autoSoftCommit like below in solrconfig.xml >> > <autoCommit> >> > <maxTime>100000</maxTime> >> > </autoCommit> >> > <autoCommit> >> > <maxTime>1000</maxTime> >> > </autoCommit> >> > >> > I try to add a document to this solr instance using solrj client in the >> > nightly build. I do saw a commit time boost. Single document commit will >> > basically take around 10 - 15 seconds. >> > >> > My question is, my configuration mean to do the commitment within 1 >> second, >> > why solr still takes 10 seconds. >> > >> > Spark >> > >> >> -- >> - Mark >> >> http://www.lucidimagination.com >> > >