if I'll move 1 index that index will be have 1 shard and 1 replica?.
If I'll move all indices(50) in some node every index has 1 shard and 1 replica right?.
Depends on what exactly you mean by "move", but probably yes. The number of shards and replicas set in elasticsearch.yml can be overridden when an index is created (and the number of replicas can be changed at any time) so you can't go by the elasticsearch.yml settings alone.
and after Elasticsearch will be shared on the 4 nodes automatically?.
When you add nodes to a cluster all shards will be distributed evenly among the nodes with a few restrictions:
- Only the number of shards is taken into account, not their size. In other words, you might get different amounts of data on the nodes.
- The primary shard and its replica will never be placed on the same node.
- If a node doesn't have sufficient disk space the distribution could be lopsided.
- Cluster configuration can restrict shard allocation further so that e.g. primary and replica shards won't both be placed in the same rack.
What happend with replicas?
I don't understand this question.
how much time Elasticsearch taked to create every replicas, 50 right?.
Creating an empty replica shard takes no time at all, but the actual time depends on the size of your shards.