Re: Multiple structured datasource(rss,db,xml) in single schema.xml

2012-09-15 Thread nishi
I have updated the db-data-config.xml to introduce the templateTransformer and generate a common field (docId) with other data-config files. db-data-config.xml : schema.xml:

Re: Multiple structured datasource(rss,db,xml) in single schema.xml

2012-09-14 Thread nishi
Is it I am going which solr doesn't support for handling this? Or is it no one has done in this manner?. Please suggest if its do-able with the solr...my requirement and my approach. Thanks in advance. -- View this message in context: http://lucene.472066.n3.nabble.com/Multiple-structured-data

Re: Multiple structured datasource(rss,db,xml) in single schema.xml

2012-09-13 Thread nishi
Thanks Thomas. Appreciate your comments. These are my configurations : 1) solrconfig.xml innovation-data-config.xml db-data-config.xml 2) db-data-config.xml 3) innovation-data-config.xml http:

Re: Multiple structured datasource(rss,db,xml) in single schema.xml

2012-09-13 Thread Tomás Fernández Löbbe
Yes, you can have multiple handlers configured differently (for example, for different datasources), and call them as you want. As for the schema, you can also have different fields for the different document types, just make sure you have the uinique key and that you have a good way for searching

Re: Multiple structured datasource(rss,db,xml) in single schema.xml

2012-09-13 Thread nishi
Can we have multi requestHandlers (for DIH) like one for db-source, another for rss article? And then can we have different field set in schema.xml to segregate the fields for rss and db seperately? So that when I run the dataimporthandler for db-source, it should index db records in the existing

Re: Multiple structured datasource(rss,db,xml) in single schema.xml

2012-09-13 Thread Tomás Fernández Löbbe
If you need to search across all the datasources together, the best choice is to use a single index (with a single schema). Just add all the fields from all the datasources (share the ones that are the same to some of them). When adding docs, just fill the fields that belong to each document type a

Multiple structured datasource(rss,db,xml) in single schema.xml

2012-09-13 Thread nishi
I am little new solr - I am running out of solution to index combination of rss articles and database table contents with the same schema.xml and data-config with multiple datasources (rss,db tables) etc. The functionality requirement is to able to search the keyword throughout indexed data (can