We have a two node cluster and I would like to prioritize one data node to store all the primary shards. I would like to store all the primary shards on the node with more performance. Is this possible?
Primary and replica shards do the same amount of work when it comes to indexing and searching so there is generally no point trying to allocated primaries to a specific node. Elasticsearch will promote replicas to primary due to events in the cluster, so these designations are not static.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.