Restore Shards from Snapshot

Hi All,
Suppose , I created an index and this is assigned to two nodes(assume) node n1 and node n2 in a cluster . Each node has two primary shards and two replica shards.Snapshot of this index is taken at t1 and somehow node n1 goes down after snapshot has been taken . Restoring whole index is easy to do but my question is can we restore only those shards which were in node n1 . If yes , how can we do that?

Thanks.

You currently cannot do this.

However if you have replicas, what's the problem? They should cover loss of the primary.

Thanks warkolm for your reply.
Can you tell me what basically happens behind the scene when we operate snapshot API and restore API.what process they start doing on index once we invoke these APIs.
Which java classes from elasticsearch 1.7.1 jar should I go through to understand in and out of how snapshot and restore works.

thanks

[ Life inside a shard ] is a really good chapter,

You should also look for Snapshot & Restore API, pages 600 & 659 of the book

The Definitive Guide is also here https://www.elastic.co/guide/en/elasticsearch/guide/current/index.html