If a have cluster with five machines, and one of thoses machines listing elasticsearch http server.
An index configured with 3 shards and 2 replicas.
I send a document by http transport to the elasticsearch.
Elasticsearch do all computations for index on the http client or send the pure document to the responsible shard to do the computations?
Thanks
warkolm
(Mark Walkom)
June 29, 2015, 11:22pm
2
It does it on the node that holds the shard.
Even if I use transport protocol?
I have another doubts about elasticsearch internals, are there any doc?
warkolm
(Mark Walkom)
June 29, 2015, 11:28pm
4
It calculates which shard the doc needs to live on on the node that receives the request, then it sends it to that shard+node and does the indexing.
What other questions do you have?