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:
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
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:
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
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
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