RE: [DIH] Using SqlEntity to get a list of files and read files in XpathEntityProcessor

2013-05-31 Thread jerome . dupont
Thanks very much, it works, with dataSource (capital S) !!! Finally, I didn't have to define a "CHEMINRELATIF" field in the configuration, it's working without it. This is the definive working configuration:

Re: Re: [DIH] Using SqlEntity to get a list of files and read files in XpathEntityProcessor

2013-05-30 Thread Alexandre Rafalovitch
On Thu, May 30, 2013 at 11:44 AM, wrote: > > processor="XPathEntityProcessor" > > datasource="racineNoticeDatasource" > > url="file:///D:/jed/notices

Re: Re: [DIH] Using SqlEntity to get a list of files and read files in XpathEntityProcessor

2013-05-30 Thread jerome . dupont
Hi, Thanks for your anwser, it made me go ahead. The name of the entity was not good, not consistent with schema Now the first entity works fine: the query is done to the database and returns the good result. The problem is that the second entity, which is a XPathEntityProcessor entity, doesn't r

RE: [DIH] Using SqlEntity to get a list of files and read files in XpathEntityProcessor

2013-05-30 Thread Dyer, James
ouldn't be terribly hard, but haven't looked either. James Dyer Ingram Content Group (615) 213-4311 -Original Message- From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] Sent: Thursday, May 30, 2013 6:08 AM To: solr-user@lucene.apache.org Subject: Re: [DIH] Using SqlEntity to

Re: [DIH] Using SqlEntity to get a list of files and read files in XpathEntityProcessor

2013-05-30 Thread Alexandre Rafalovitch
Did you declare that field name in outer entity? Not just "select as" in the query. Regards, Alex On 30 May 2013 04:31, wrote: > > Hello, > > I want to use a index a huge list of xml file. > _ Using FileListEntityProcessor causes an OutOfMemoryException (too many > files...) > _ I can do i