Hi, I have an index which has the shard parameter pointing to 2 shards(server1, server2). While reading from the shards you query on the index with the shard parameter and it will retrieve the documents from both the shards. Now I want to add the documents to their respective shards depending on a parameter/field. Where do you specify that condition? or do we have to handle it programmatically?.
Thanks in advance Ankita