OpenSearch/rest-api-spec/api/indices.flush.json

39 lines
1.0 KiB
JSON
Raw Normal View History

{
"indices.flush": {
2013-05-27 09:50:14 -04:00
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-flush/",
"methods": ["POST", "GET"],
"url": {
"path": "/_flush",
"paths": ["/_flush", "/{index}/_flush"],
"parts": {
"index": {
2013-05-27 09:50:14 -04:00
"type" : "list",
"required" : true,
"description" : "A comma-separated list of index names; use `_all` or empty string for all indices"
}
},
"params": {
"force": {
2013-05-27 09:50:14 -04:00
"type" : "boolean",
"description" : "TODO: ?"
},
"full": {
2013-05-27 09:50:14 -04:00
"type" : "boolean",
"description" : "TODO: ?"
},
"ignore_indices": {
2013-05-27 09:50:14 -04:00
"type" : "enum",
"options" : ["none","missing"],
"default" : "none",
"description" : "When performed on multiple indices, allows to ignore `missing` ones"
},
"refresh": {
2013-05-27 09:50:14 -04:00
"type" : "boolean",
"description" : "Refresh the index after performing the operation"
}
}
},
"body": null
}
}