dataimport handler multiple databases

2008-04-02 Thread Ismail Siddiqui
Hi I have a situaion where I am using dataimport handler with development db and going to use it with production database in production environment I have entry in solr-config.xml like this requestHandler name=/dataimport class=org.apache.solr.handler.dataimport.DataImportHandler lst

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 requestHandler name=/dataimport class=org.apache.solr.handler.dataimport.DataImportHandler lst name=defaults str