Hi guys,
Elasticsearch version: 5.6.3
OS: Windows 10 Home
If I run:
$ curl -XPUT 'localhost:9200/_snapshot/my_backup/test?wait_for_completion=true&pretty' -H 'Content-Type: application/json' -d'
{
  "indices": "properties",
  "ignore_unavailable": true,
  "include_global_state": false
}'
The result is:
  "snapshot" : {
    "snapshot" : "test",
    "uuid" : "rM7Q3GUrRlC-PBPEl0vetg",
    "version_id" : 5060399,
    "version" : "5.6.3",
    "indices" : [
      "properties"
    ],
    "state" : "SUCCESS",
    "start_time" : "2018-01-09T19:54:58.031Z",
    "start_time_in_millis" : 1515527698031,
    "end_time" : "2018-01-09T19:54:58.104Z",
    "end_time_in_millis" : 1515527698104,
    "duration_in_millis" : 73,
    "failures" : [ ],
    "shards" : {
      "total" : 5,
      "failed" : 0,
      "successful" : 5
    }
  }
}
This index has over 20,000 documents, I have deleted all other snapshots and I am getting no errors in the elasticsearch.log, but every snapshot only stores 5 documents.
Any help would be greatly appreciated.