Define shards that are both primary and replicas of each other

Hi,

I have two nodes, and would like to define one index with 2 shards that are both primary and replica of each other.

In other words, on node1 will be the first shard, on node2 the second shard.
Each time a document will be physically stored on the shard on node1, it will clone itself to the shard on node2, and vice versa.
I want to do it for load balancing.

I couldn't find how to do it in the documentation.

Is it even possible in Elastic?

Thanks

You cannot do that, but it shouldn't matter because each shard does the same amount of work.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.