Sorry, lack of sleep made me see an extra "0" in there.

I haven't had this issue -- but after every batch of items that I post
into Solr with SolrJ I run the commit() routine on my instance of the
CommonsHttpSolrServer, so they show up immediately.  You could try
altering your code to do that, or changing the maxDocs setting to a
smaller number that would trigger more often.

I don't know of cache on SolrJ...but I know that after I insert
records I can immediately search for them in my JUnit tests.

-- Chris



On Mon, Oct 3, 2011 at 3:50 PM, darul <daru...@gmail.com> wrote:
> Any SolrJ cache ? I am newbie ;)
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Documents-Indexed-SolrJ-see-nothing-before-long-time-tp3389721p3390942.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to