Hi -

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)?

Thanks very much.

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/b4289cc5-7981-443f-a26c-569b271cda3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to