Hi Solr Developers, We have been using solr cloud with implicit sharding. The data of the collection has been sharded into 56 shards.
Due to business requirements, we have created a collection such that there is a chance that a single document could be indexed on multiple shards. To implement this, we have created copies of the same document(POJO in java code) and indexed them on different shards by setting the routing field with different values in each copy of the document. 1. I was wondering if this is the most optimal approach, or is there a way where I do not have to handle this change during indexing. 2. Is there a way we can specify multiple values in a single document which could then internally be routed by solr/ zookeeper to the designated shards.