On Fri, Jan 9, 2009 at 4:20 PM, Gargate, Siddharth <sgarg...@ptc.com> wrote:

> Thanks Shalin for the reply.
> I am working with the remote Solr server. I am using autocommit instead
> of commit method call because I observed significant performance
> improvement with autocommit.
> Just wanted to make sure that callback functionality is currently not
> available in Solr.
>
>
You provide your own implementation of SolrEventListener to do a call back
to your application in any way you need.

I don't think using autoCommit gives a performance advantage over normal
commits. Calling commit after each document is not a good idea since commit
is an expensive operation. The only reason you are seeing better performance
after autoCommit is because it is set to commit after 'X' number of
documents or minutes. This is something you can do from your application as
well.

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to