-
Notifications
You must be signed in to change notification settings - Fork 92
/
Copy pathopen_point_in_time.json
60 lines (60 loc) · 1.96 KB
/
open_point_in_time.json
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
{
"open_point_in_time": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html",
"description": "Open a point in time that can be used in subsequent searches"
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/{index}/_pit",
"methods": ["POST"],
"parts": {
"index": {
"type": "list",
"description": "A comma-separated list of index names to open point in time; use `_all` or empty string to perform the operation on all indices"
}
}
}
]
},
"params": {
"preference": {
"type": "string",
"description": "Specify the node or shard the operation should be performed on (default: random)"
},
"routing": {
"type": "string",
"description": "Specific routing value"
},
"ignore_unavailable": {
"type": "boolean",
"description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)"
},
"expand_wildcards": {
"type": "enum",
"options": ["open", "closed", "hidden", "none", "all"],
"default": "open",
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},
"keep_alive": {
"type": "string",
"description": "Specific the time to live for the point in time",
"required": true
},
"allow_partial_search_results": {
"type": "boolean",
"description": "Specify whether to tolerate shards missing when creating the point-in-time, or otherwise throw an exception. (default: false)"
}
},
"body": {
"description": "An index_filter specified with the Query DSL"
}
}
}