A full commit of all pending documents is performed whenever the first trigger is reached.
So, maxdocs = 1000. Max time=1 minute. Index a packet with 999 docs. Index another packet with 50 documents immediately after. One commit of 1049 documents happens.... Index a packet of 999 docs. Do nothing for a minute. One commit of 999 docs happens because of maxtime... But I have to ask, "why do you care"? What high level problem are you trying to handle? Best Erick On Sun, Oct 23, 2011 at 3:03 PM, darul <daru...@gmail.com> wrote: > May someone explain me different use case when both or only one AutoCommit > parameters is filled ? > > I really need to understand it. > > For example with these configurations : > > <autoCommit> > <maxDocs>10000</maxDocs> > </autoCommit> > > or > > <autoCommit> > <maxTime>1000</maxTime> > </autoCommit> > > or > > <autoCommit> > <maxDocs>10000</maxDocs> > <maxTime>1000</maxTime> > </autoCommit> > > Thanks to everyone > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/questions-about-autocommit-committing-documents-tp1582487p3445607.html > Sent from the Solr - User mailing list archive at Nabble.com. >