Replaced "true" with true in snapshot restore docs

Closes #19947
This commit is contained in:
Clinton Gormley 2016-08-12 15:34:43 +02:00
parent 35e4f24467
commit 15c96df5b5
1 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ which returns:
"my_backup": {
"type": "fs",
"settings": {
"compress": "true",
"compress": true,
"location": "/mount/backups/my_backup"
}
}
@ -219,7 +219,7 @@ specifying the list of indices in the body of the snapshot request.
PUT /_snapshot/my_backup/snapshot_1
{
"indices": "index_1,index_2",
"ignore_unavailable": "true",
"ignore_unavailable": true,
"include_global_state": false
}
-----------------------------------
@ -340,7 +340,7 @@ with associated indices
POST /_snapshot/my_backup/snapshot_1/_restore
{
"indices": "index_1,index_2",
"ignore_unavailable": "true",
"ignore_unavailable": true,
"include_global_state": true,
"rename_pattern": "index_(.+)",
"rename_replacement": "restored_index_$1"