See:
http://wiki.apache.org/solr/SolrConfigXml

The example in the wiki is:
    <autoCommit>
      <maxDocs>10000</maxDocs> <!-- maximum uncommited docs before
autocommit triggered -->
      <maxTime>86000</maxTime> <!-- maximum time (in MS) after adding
a doc before an autocommit is triggered -->
    </autoCommit>

So since you have yours set to 30000, that translates to 30,000 ms,
which is 5 minutes.  If you want the autocommit feature to trigger
more often, you could decrease the number.  Dropping it to 6000 would
make it auto commit every minute, but I don't know if that is too
often for you.

-- Chris



On Mon, Oct 3, 2011 at 10:00 AM, darul <daru...@gmail.com> wrote:
> Or any Idea to see cache updated more quickly, I do not understand well how
> caches are working in Solr.
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Documents-Indexed-SolrJ-see-nothing-before-long-time-tp3389721p3389864.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to