Added the API definition for `_cache/clear`
This commit is contained in:
parent
e83a6a7f02
commit
c2f4bbe1a4
|
@ -1,36 +1,62 @@
|
||||||
{
|
{
|
||||||
"indices.cache.clear": {
|
"indices.cache.clear": {
|
||||||
"documentation": "",
|
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-clearcache/",
|
||||||
"methods": ["POST", "GET"],
|
"methods": ["POST", "GET"],
|
||||||
"url": {
|
"url": {
|
||||||
"path": "/_cache/clear",
|
"path": "/_cache/clear",
|
||||||
"paths": ["/_cache/clear", "/{index}/_cache/clear"],
|
"paths": ["/_cache/clear", "/{index}/_cache/clear"],
|
||||||
"parts": {
|
"parts": {
|
||||||
"index": {
|
"index": {
|
||||||
|
"type" : "list",
|
||||||
|
"description" : "A comma-separated list of index name to limit the operation"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"params": {
|
"params": {
|
||||||
"field_data": {
|
"field_data": {
|
||||||
|
"type" : "boolean",
|
||||||
|
"description" : "Clear field data"
|
||||||
},
|
},
|
||||||
"fielddata": {
|
"fielddata": {
|
||||||
|
"type" : "boolean",
|
||||||
|
"description" : "Clear field data"
|
||||||
},
|
},
|
||||||
"fields": {
|
"fields": {
|
||||||
|
"type" : "list",
|
||||||
|
"description" : "A comma-separated list of fields to clear when using the `field_data` parameter (default: all)"
|
||||||
},
|
},
|
||||||
"filter": {
|
"filter": {
|
||||||
|
"type" : "boolean",
|
||||||
|
"description" : "Clear filter caches"
|
||||||
},
|
},
|
||||||
"filter_cache": {
|
"filter_cache": {
|
||||||
|
"type" : "boolean",
|
||||||
|
"description" : "Clear filter caches"
|
||||||
},
|
},
|
||||||
"filter_keys": {
|
"filter_keys": {
|
||||||
|
"type" : "boolean",
|
||||||
|
"description" : "A comma-separated list of keys to clear when using the `filter_cache` parameter (default: all)"
|
||||||
},
|
},
|
||||||
"id": {
|
"id": {
|
||||||
|
"type" : "boolean",
|
||||||
|
"description" : "Clear ID caches for parent/child"
|
||||||
},
|
},
|
||||||
"id_cache": {
|
"id_cache": {
|
||||||
|
"type" : "boolean",
|
||||||
|
"description" : "Clear ID caches for parent/child"
|
||||||
},
|
},
|
||||||
"ignore_indices": {
|
"ignore_indices": {
|
||||||
|
"type" : "enum",
|
||||||
|
"options" : ["none","missing"],
|
||||||
|
"default" : "none",
|
||||||
|
"description" : "When performed on multiple indices, allows to ignore `missing` ones"
|
||||||
},
|
},
|
||||||
"index": {
|
"index": {
|
||||||
|
"type" : "list",
|
||||||
|
"description" : "A comma-separated list of index name to limit the operation"
|
||||||
},
|
},
|
||||||
"recycler": {
|
"recycler": {
|
||||||
|
"type" : "boolean",
|
||||||
|
"description" : "TODO: ?"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue