komoot/photon — pull request #66 by karussell (2014-06-10 10:28:18+00:00)
Title: fixed snapshotting

There were several issues with the current snapshotting like GetSnapshot vs. RestoreSnapshot - this only jumped to my eyes when looking at the [ES tests](https://github.com/elasticsearch/elasticsearch/blob/master/src/test/java/org/elasticsearch/snapshots/SharedClusterSnapshotRestoreTests.java#L126). Also moved some log.error statements into exceptions as it does not make sense to continue in those cases.

There is an additional test for it now but the whole test suite does not execute properly - depends on #65

Upgraded to elasticsearch as ES docs say: *Before version 1.2.0 the snapshot operation fails if cluster has any relocating or initializing primaries of indices participating in the snapshot. Starting with version 1.2.0, Elasticsearch waits for are relocating or initializing shards to start before snapshotting them.*