I am struggling with the overall view of how (whether possible) one might be able to index multiple different types of records in one single Solr core. Multiple records meaning that they have different unique keys.
We are inclined to want to use a single core because we want to be able to, at certain levels, search everything all at once and not have to cobble cores together.
So, for example, I have products that have the fields:
product_code <--- unique key
product_title
product_description
etc...
then there are job listings that have the fields:
job_id <---- unique key
job_description
job_title
etc...
there are multiple other entities, including a Nutch search index, which will have a unique id of 'id'
is it possible to include in the schema.xml more than one unique key? so that id do not have to send each different kind of record to a different solr core?
The main concern I have is that in identifying the <uniqueKey>s at least one of them has to be required, but not all records sent to the solr index will have the required key.
Is there an accepted way to get around this problem in Solr?