summaryrefslogtreecommitdiff
path: root/rest-api-spec/api/indices.clear_cache.json
blob: 36bf1ff6fe2b6b4ae9534c4a085b796871d0f50a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
  "indices.clear_cache": {
    "documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/indices-clearcache.html",
    "methods": ["POST", "GET"],
    "url": {
      "path": "/_cache/clear",
      "paths": ["/_cache/clear", "/{index}/_cache/clear"],
      "parts": {
        "index": {
          "type" : "list",
          "description" : "A comma-separated list of index name to limit the operation"
        }
      },
      "params": {
        "field_data": {
          "type" : "boolean",
          "description" : "Clear field data"
        },
        "fielddata": {
          "type" : "boolean",
          "description" : "Clear field data"
        },
        "fields": {
          "type" : "list",
          "description" : "A comma-separated list of fields to clear when using the `field_data` parameter (default: all)"
        },
        "filter": {
          "type" : "boolean",
          "description" : "Clear filter caches"
        },
        "filter_cache": {
          "type" : "boolean",
          "description" : "Clear filter caches"
        },
        "filter_keys": {
          "type" : "boolean",
          "description" : "A comma-separated list of keys to clear when using the `filter_cache` parameter (default: all)"
        },
        "id": {
          "type" : "boolean",
          "description" : "Clear ID caches for parent/child"
        },
        "id_cache": {
          "type" : "boolean",
          "description" : "Clear ID caches for parent/child"
        },
        "ignore_unavailable": {
            "type" : "boolean",
            "description" : "Whether specified concrete indices should be ignored when unavailable (missing or closed)"
        },
        "allow_no_indices": {
            "type" : "boolean",
            "description" : "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)"
        },
        "expand_wildcards": {
            "type" : "enum",
            "options" : ["open","closed"],
            "default" : "open",
            "description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
        },
        "index": {
          "type" : "list",
          "description" : "A comma-separated list of index name to limit the operation"
        },
        "recycler": {
          "type" : "boolean",
          "description" : "Clear the recycler cache"
        }
      }
    },
    "body": null
  }
}