2013-05-24 06:02:42 -04:00
|
|
|
{
|
|
|
|
"indices.cache.clear": {
|
2013-05-27 07:19:44 -04:00
|
|
|
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-clearcache/",
|
2013-05-24 06:02:42 -04:00
|
|
|
"methods": ["POST", "GET"],
|
|
|
|
"url": {
|
|
|
|
"path": "/_cache/clear",
|
|
|
|
"paths": ["/_cache/clear", "/{index}/_cache/clear"],
|
|
|
|
"parts": {
|
|
|
|
"index": {
|
2013-05-27 07:19:44 -04:00
|
|
|
"type" : "list",
|
|
|
|
"description" : "A comma-separated list of index name to limit the operation"
|
2013-05-24 06:02:42 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"params": {
|
2013-05-26 06:20:43 -04:00
|
|
|
"field_data": {
|
2013-05-27 07:19:44 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Clear field data"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"fielddata": {
|
2013-05-27 07:19:44 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Clear field data"
|
2013-05-26 06:20:43 -04:00
|
|
|
},
|
|
|
|
"fields": {
|
2013-05-27 07:19:44 -04:00
|
|
|
"type" : "list",
|
|
|
|
"description" : "A comma-separated list of fields to clear when using the `field_data` parameter (default: all)"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
|
|
|
"filter": {
|
2013-05-27 07:19:44 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Clear filter caches"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
|
|
|
"filter_cache": {
|
2013-05-27 07:19:44 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Clear filter caches"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"filter_keys": {
|
2013-05-27 07:19:44 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "A comma-separated list of keys to clear when using the `filter_cache` parameter (default: all)"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
|
|
|
"id": {
|
2013-05-27 07:19:44 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Clear ID caches for parent/child"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
|
|
|
"id_cache": {
|
2013-05-27 07:19:44 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Clear ID caches for parent/child"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"ignore_indices": {
|
2013-05-27 07:19:44 -04:00
|
|
|
"type" : "enum",
|
|
|
|
"options" : ["none","missing"],
|
|
|
|
"default" : "none",
|
|
|
|
"description" : "When performed on multiple indices, allows to ignore `missing` ones"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"index": {
|
2013-05-27 07:19:44 -04:00
|
|
|
"type" : "list",
|
|
|
|
"description" : "A comma-separated list of index name to limit the operation"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"recycler": {
|
2013-05-27 07:19:44 -04:00
|
|
|
"type" : "boolean",
|
2013-05-28 04:38:30 -04:00
|
|
|
"description" : "Clear the recycler cache"
|
2013-05-24 06:02:42 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"body": null
|
|
|
|
}
|
|
|
|
}
|