Disable re-replicate


(david) #1

Hi all.
i have two question.

1: is it possible to disable re-replicate in elasticsearch?
and
2: Is the search performed on the replicate or just on the primary shard?


(David Pilato) #2

What is re replicate?

The search is performed by default on replicas or primaries


(david) #3

i read learning elasticsearch book
publisher packet
please look this screenshot from this book
Failure2

Failure4


(David Pilato) #4

So yes you can disable shard allocation.
Why would you like to do this though? The only moment I see it useful is when doing a rolling upgrade of nodes.