December 2015
Intermediate to advanced
176 pages
3h 25m
English
As stated earlier, a repository can contain multiple snapshots of the same cluster. Therefore, the snapshots files are stored in compact form. This means that your data will not be repeated when you have multiple snapshots of the same indices. At first, Elasticsearch checks the list of the index files. Then, it copies only newly created or changed files since the last snapshot. Now look at the following example:
curl -XGET localhost:9200/my_index/_search?pretty { "took": 3, "timed_out": false, "_shards": { "total": 1, "successful": 1, "failed": 0 }, "hits": { "total": 2, "max_score": 1, "hits": [ { "_index": "my_index", "_type": "snapshot", "_id": "AVCmN4l-7pWKrBPkopj3", "_score": 1, "_source": { "title": "Document ...Read now
Unlock full access