Re: Problem with simple use of DIH

2009-12-27 Thread AHMET ARSLAN
I'm trying to use DataImportHandler to load my index and having some strange results. I have two tables in my database. DPRODUC contains products and FSKUMAS contains the skus related to each product. This is the data-config I'm using. dataConfig   dataSource type=JdbcDataSource      

Re: Problem with simple use of DIH

2009-12-27 Thread Noble Paul നോബിള്‍ नोब्ळ्
did you run it w/o the debug? On Sun, Dec 27, 2009 at 6:31 PM, AHMET ARSLAN iori...@yahoo.com wrote: I'm trying to use DataImportHandler to load my index and having some strange results. I have two tables in my database. DPRODUC contains products and FSKUMAS contains the skus related to each

Re: Problem with simple use of DIH

2009-12-27 Thread Jay Fisher
I did run it without debug and the result was that 0 documents were processed. The problem seems to be with the field tags that I was using to map from the table column names to the schema.xml field names. I switched to using an AS clause in the SQL statement instead and it worked. I think the

Re: Problem with simple use of DIH

2009-12-27 Thread Noble Paul നോബിള്‍ नोब्ळ्
The field names are case sensitive. But if the field tags are missing they are mapped to corresponding solr fields in a case insensistive way.apparently all the fields come out of you ALL CAPS you should put the 'column' values in ALL CAPS too On Sun, Dec 27, 2009 at 9:03 PM, Jay Fisher

Problem with simple use of DIH

2009-12-26 Thread Jay Fisher
I'm trying to use DataImportHandler to load my index and having some strange results. I have two tables in my database. DPRODUC contains products and FSKUMAS contains the skus related to each product. This is the data-config I'm using. dataConfig dataSource type=JdbcDataSource