On Fri, Jul 10, 2009 at 11:50 AM, Francis Yakin <fya...@liquid.com> wrote:
> I also commit too many I guess, since we have 1000 folders, so each loop > will executed the load and commit. > So 1000 loops with 1000 commits. I think it will be help if I only commit > once after the 1000 loops completed. > > Any inputs? > Commit only when you must show changes to searchers. It is best to commit once you are done with all documents. Also, batching documents in one curl call will also help a lot (save on http overhead). -- Regards, Shalin Shekhar Mangar.