I am new to Elasticsearch and have what I hope is a basic question for a
simple configuration. Assume I have 3 node cluster with a single index and:
1 primary shard
2 replicas of the primary shard
The majority of requests will be searches with relatively few index updates.
All requests are distributed by a network load balancer across the three
nodes. Since each node has a copy of the index and the requests are being
spread across the cluster by the network load balancer, my intuition is
that a local search (i.e. execute a search on the node that received the
request) will perform best. In other words, I do not want Elasticsearch to
round-robin each search request from the node received to another node; I
want the node that received the request to search its local copy of the
index.
My question: Is there a way for make Elasticsearch search against only the
shard on the node received (and avoid a network hop to another shard)?
I am new to Elasticsearch and have what I hope is a basic question for a
simple configuration. Assume I have 3 node cluster with a single index and:
1 primary shard
2 replicas of the primary shard
The majority of requests will be searches with relatively few index
updates.
All requests are distributed by a network load balancer across the three
nodes. Since each node has a copy of the index and the requests are being
spread across the cluster by the network load balancer, my intuition is
that a local search (i.e. execute a search on the node that received the
request) will perform best. In other words, I do not want Elasticsearch to
round-robin each search request from the node received to another node; I
want the node that received the request to search its local copy of the
index.
My question: Is there a way for make Elasticsearch search against only the
shard on the node received (and avoid a network hop to another shard)?
I am new to Elasticsearch and have what I hope is a basic question for a
simple configuration. Assume I have 3 node cluster with a single index and:
1 primary shard
2 replicas of the primary shard
The majority of requests will be searches with relatively few index
updates.
All requests are distributed by a network load balancer across the three
nodes. Since each node has a copy of the index and the requests are being
spread across the cluster by the network load balancer, my intuition is
that a local search (i.e. execute a search on the node that received the
request) will perform best. In other words, I do not want Elasticsearch to
round-robin each search request from the node received to another node; I
want the node that received the request to search its local copy of the
index.
My question: Is there a way for make Elasticsearch search against only
the shard on the node received (and avoid a network hop to another shard)?
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.