Where document is analyzed and processed

(Felipe Santos) #1
  1. If a have cluster with five machines, and one of thoses machines listing elasticsearch http server.

  2. An index configured with 3 shards and 2 replicas.

  3. 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?


(Mark Walkom) #2

It does it on the node that holds the shard.

(Felipe Santos) #3

Even if I use transport protocol?
I have another doubts about elasticsearch internals, are there any doc?

(Mark Walkom) #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?

(system) #5