Quick recovery after node restart in elasticsearch

Thanks a lot for all the replies. Will try the above allocation curl command next time before node restart...

Before that I need a small clarification. This command seems to be affecting entire cluster. But, in my case I want that to be done for a single node. Is that possible?

From the command it seems, the there will not be any further allocation in the entire cluster till we set it to false. I don't want like that. The allocation should be stopped only for that node. After restart everything should go into normal state in a faster pace.

Is it possible to specify the node in the above command?