If you have hundreds of files, the post command (SimplePostTool) can also push a directory of files up to Solr.
(It is called "Simple" under the hood, but it is far from "simple"!) Upayavira On Mon, Jul 13, 2015, at 09:28 PM, Alexandre Rafalovitch wrote: > Solr ships with XML processing example for DIH in the examples > directory (RSS core). In your case, you will most probably read the > filelist or directory list and then run XML processor as a nested > entity. So, check the nested example at > https://cwiki.apache.org/confluence/display/solr/Uploading+Structured+Data+Store+Data+with+the+Data+Import+Handler > > Regards, > Alex. > ---- > Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: > http://www.solr-start.com/ > > > On 13 July 2015 at 15:12, EXTERNAL Taminidi Ravi (ETI, AA-AS/PAS-PTS) > <external.ravi.tamin...@us.bosch.com> wrote: > > I Can break that into smaller files but for other case the number of files > > growing in 100s.. > > > > Can I Parse XML Files to DIH..? Can you refer few examples..? > > > > Thanks > > > > Ravi > > > > -----Original Message----- > > From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] > > Sent: Monday, July 13, 2015 3:01 PM > > To: solr-user > > Subject: Re: XML File Size for Post.jar > > > > I don't think you can do files that big. The memory would blow out. > > You sure you cannot chunk it into smaller document sets? Or make it a > > streaming parsing with DIH in a pull fashion? > > > > Regards, > > Alex. > > ---- > > Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: > > http://www.solr-start.com/ > > > > > > On 13 July 2015 at 14:56, EXTERNAL Taminidi Ravi (ETI, AA-AS/PAS-PTS) > > <external.ravi.tamin...@us.bosch.com> wrote: > >> > >> HI, Where I have to change to support the xml file more than 2GB to Index > >> in Solr, using the simple post tool (post.jar) for Jetty and Tomcat. > >> > >> Thanks > >> > >> Ravi