Re: dataimport handler multiple databases

2008-04-02 Thread Noble Paul നോബിള്‍ नोब्ळ्
each entity has an optional attribute called dataSource. If you have multiple dataSources give them a name and use the name is dataSource .So you solrconfig must look like /home/username/data-config.xml datasource-1 com.mysql.jdbc.Driver dat

Re: dataimport handler with mysql: wrong field mapping

2008-12-15 Thread Luca Molteni
Have you tried using the options in the schema.xml? After the indexing, take a look to the fields DIH has generated. Bye, L.M. 2008/12/15 jokkmokk : > > HI, > > I'm desperately trying to get the dataimport handler to work, however it > seems that it just ignores the field name mapping. > I

Re: dataimport handler with mysql: wrong field mapping

2008-12-15 Thread jokkmokk
sorry, I'm using the 1.3.0 release. I've now worked around that issue by using aliases in the sql statement so that no mapping is needed. This way it works perfectly. best regards Stefan Shalin Shekhar Mangar wrote: > > Which solr version are you using? > -- View this message in context: h

Re: dataimport handler with mysql: wrong field mapping

2008-12-15 Thread Shalin Shekhar Mangar
Which solr version are you using? On Mon, Dec 15, 2008 at 6:04 PM, jokkmokk wrote: > > HI, > > I'm desperately trying to get the dataimport handler to work, however it > seems that it just ignores the field name mapping. > I have the fields "body" and "subject" in the database and those are call