forked from elastic/elasticsearch-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexists_source.json
70 lines (70 loc) · 2.05 KB
/
exists_source.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
61
62
63
64
65
66
67
68
69
70
{
"exists_source": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html",
"description": "Returns information about whether a document source exists in an index."
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"]
},
"url": {
"paths": [
{
"path": "/{index}/_source/{id}",
"methods": ["HEAD"],
"parts": {
"id": {
"type": "string",
"description": "The document ID"
},
"index": {
"type": "string",
"description": "The name of the index"
}
}
}
]
},
"params": {
"preference": {
"type": "string",
"description": "Specify the node or shard the operation should be performed on (default: random)"
},
"realtime": {
"type": "boolean",
"description": "Specify whether to perform the operation in realtime or search mode"
},
"refresh": {
"type": "boolean",
"description": "Refresh the shard containing the document before performing the operation"
},
"routing": {
"type": "string",
"description": "Specific routing value"
},
"_source": {
"type": "list",
"description": "True or false to return the _source field or not, or a list of fields to return"
},
"_source_excludes": {
"type": "list",
"description": "A list of fields to exclude from the returned _source field"
},
"_source_includes": {
"type": "list",
"description": "A list of fields to extract and return from the _source field"
},
"version": {
"type": "number",
"description": "Explicit version number for concurrency control"
},
"version_type": {
"type": "enum",
"options": ["internal", "external", "external_gte"],
"description": "Specific version type"
}
}
}
}