In Solr I have two cores. The schema is the same but they have different documents.
Now I would like to have only one document class and initialize Solr for those two cores using the same document class. For example:
Startup.Init("http://localhost:8983/solr/core1"); Startup.Init("http://localhost:8983/solr/core2");
But I get exception saying the key is already registered.
What is the solution?
Thanks.