Re: Dynamic Data Import from multiple identical tables

2009-10-09 Thread Noble Paul നോബിള്‍ नोब्ळ्
there is another option of passing the table name as a request parameter and make your sql query templatized . example query="select * from ${table}" and pass the value of table as a request parameter On Sat, Oct 10, 2009 at 3:52 AM, solr.searcher wrote: > > Hmmm. Interesting line of thought. Th

Re: Dynamic Data Import from multiple identical tables

2009-10-09 Thread solr.searcher
Hmmm. Interesting line of thought. Thanks a lot Jay. Will explore this approach. There are lot of duplicate tables though :). I was about to try a different approach - set up two solar cores, keep reloading config and updating one, merge with the bigger index ... But your approach is worth expl

Re: Dynamic Data Import from multiple identical tables

2009-10-09 Thread Jay Hill
You could use separate DIH config files for each of your three tables. This might be overkill, but it would keep them separate. The DIH is not limited to one request handler setup, so you could create a unique handler for each case with a unique name: table1-config.xml