Thank you Alex.
I'm doing commit every 100 fiels.
Maybe there is a better way to do this job, something like DIH(possible?)
Sometimes i have much bigger xml file (2MB) and post to SOLR(jetty enabled)
may encounter slow or exceed limitation.

Floyd



2014-06-15 16:48 GMT+08:00 Alexandre Rafalovitch <arafa...@gmail.com>:

> When are you doing commit? You can issue one manually, have one with
> timeout parameter (commitWithin), or you can configure it to happen
> automatically (in solrconfig.xml).
>
> Regards,
>    Alex.
> Personal website: http://www.outerthoughts.com/
> Current project: http://www.solr-start.com/ - Accelerating your Solr
> proficiency
>
>
> On Sun, Jun 15, 2014 at 3:44 PM, Floyd Wu <floyd...@gmail.com> wrote:
> > Hi,
> > I have many XML Message file formatted like this
> > https://wiki.apache.org/solr/UpdateXmlMessages
> >
> > These files are generated by my index builder daily.
> > Currently I am sending these file through http post to Solr but
> sometimes I
> > hit OOM exception or pending too many tlog.
> >
> > Do you have better way to "import" these files to Solr to build index?
> >
> > Thanks for the suggestion
> >
> > Floyd
>

Reply via email to