getting DIH to read my XML files

2009-01-13 Thread Fergus McMenemie
Hello, I am trying to use DIH with FileListEntityProcessor to to walk the disk and read XML documents. I have a dataConfig.xml as follows:- 0 But when I try and start the walker I get:-

Re: getting DIH to read my XML files

2009-01-13 Thread Shalin Shekhar Mangar
Which version of Solr are you using? I think there should be a dataSource="null" in the child entity as well. On Tue, Jan 13, 2009 at 9:28 PM, Fergus McMenemie wrote: > Hello, > > I am trying to use DIH with FileListEntityProcessor to to walk the > disk and read XML documents. I have a dataConf

Re: getting DIH to read my XML files

2009-01-13 Thread Fergus McMenemie
Shalin, thanks for the speedy response. >Which version of Solr are you using? Solr Implementation Version: nightly exported - yonik - 2008-11-13 08:05:48 > >I think there should be a dataSource="null" in the child entity as well. OK that had an effect; I now get:- Jan 13, 2009 4:42:28 PM org.

Re: getting DIH to read my XML files: solved

2009-01-19 Thread Fergus McMenemie
Shalin, thanks for the pointer. The following data-config.xml worked. The trick was realising that EVERY entity tag needs to have its own datasource, I guess I had been assuming that it was implicit for certain processors. The whole thing is confusing in that there is both the dataSource element(

Re: getting DIH to read my XML files: solved

2009-01-19 Thread Shalin Shekhar Mangar
Hi Fergus, The idea here is that if you do not give a name to your data source, then it is the 'default' data source and gets used automatically by all entities. If you decide to give a name to the data source, then it should be specified for each entity. Even when you have multiple data sources,