I'm not sure if this will be relevant for you, but this is roughly what I do.
Apologies if it's too basic. 

I have a complex view that normalizes all the data that I need to be
together -- from over a dozen different tables. For one to many and many to
many relationships, I have sql turn the data into a comma delimited string
which the data import handler and the RegexTransformer will split into a
multi-valued field.

So, you might have a schema like this:

<id>123</id>
<name_s>John Smith</name_s>
<attr_products>
  <str>python</str>
  <str>java</str>
  <str>javascript</str>
</attr_products>

Often I've found that I don't really need to the data together into one solr
core and it works better to just create a separate core just for that
schema. 





--
View this message in context: 
http://lucene.472066.n3.nabble.com/need-best-solution-for-indexing-and-searching-multiple-related-database-tables-tp4009857p4009879.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to