Hello SOLR Users.

I am new to SOLR, so please forgive me if something in this email will not make 
sense to some of you.

Here is the problem I am trying to solve:

We have a collection of documents A that has corresponding configuration set 
with schema.xml file in it.
We need to add another core to that collection, which will contain a document 
of type B with fields mostly different from document of type A except for the 
field "key", which is also present in document of type A.
Indexing of these two cores should be done independently: core A stores dynamic 
data while data in core B is largely static.
But for search purposes these two cores should be combined to produce result 
based on criteria built from the fields from both cores.

I have found a post that suggests creating a separate schema that will unite 
the two documents: 
https://stackoverflow.com/questions/19313910/query-multiple-collections-with-different-fields-in-solr

So far so good, but now I am trying to figure out how to put it all together: 
Can I define three different document schemas in the same schema.xml (and if 
yes, how that can be done), or should I create separate schema.xml files for 
each document (and if yes, where should they be placed).

Ideally it would be nice to have this configured within the same collection to 
make this transparent for the search.

Any help would be greatly appreciated.

Thank you,
Vlad.

Reply via email to