Search path

When a search query is executed does elasticsearch go to each node to query
for the term? I am wondering as you add more nodes and grow your cluster
does the search slow down because it now has to communite and aggregate
data from all the nodes?

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Only the nodes which hold shards of the index you query are consulted.
Replica shards are consulted in a round-robin fashion. You can control this
with the preference setting
http://www.elasticsearch.org/guide/reference/api/search/preference/

Each network operation "slows down" responses, yes (if you name 4-5ms a
slow down). This is balanced out with the higher concurrency level which
executes queries faster because shards are smaller, so, the more nodes you
add, you can ignore this effect.

Jörg

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.