There is no way to do it within DataImportHandler but you can configure <autoCommit> in solrconfig.xml to automatically commit pending updates by time or number of documents.
On Tue, Aug 14, 2012 at 4:11 PM, ravicv <ravichandra...@gmail.com> wrote: > Hi, > > Is there any way for intermediate commits while indexing data using > dataimport handler? > I am using 1.4 solr version. > > My problem is : > > Some times while indexing huge data about 4 GB , after indeixng it is while > commit process is going on if any user searches the data sometimes solr is > throwing heap space error. > > Since my data before commit operation is nearly 8 GB , but after both > commit > and optimize is node it reduces to 4 GB. I am usign full import option. > > Any ideas? > > Thanks, > ravichandra > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Query-regarding-dataimporthandler-tp4001098.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Regards, Shalin Shekhar Mangar.