I have two nodes cluster.
Both are Master and Data nodes(Default Settings). I know node one is currently working as active master node. So node two will be data node.
I have a an index which has shard on node two. I need to write in that shard.
Can I write data directly to that node in respective shard.
Node 1 is master and node 2 is data node explicitly.
Can I write data directly in data node or i have to come through master node.