You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Specifies any named parameters that are passed into the script as variables. Use parameters instead of hard-coded values to decrease compilation time.
3273
3345
optionalObjectMapparams=1;
@@ -5471,6 +5543,14 @@ message ResponseItem {
5471
5543
5472
5544
optionalint64x_version=12;
5473
5545
}
5546
+
enumResult {
5547
+
RESULT_UNSPECIFIED=0;
5548
+
RESULT_CREATED=1;
5549
+
RESULT_DELETED=2;
5550
+
RESULT_NOOP=3;
5551
+
RESULT_NOT_FOUND=4;
5552
+
RESULT_UPDATED=5;
5553
+
}
5474
5554
messageReverseNestedAggregate {
5475
5555
// The custom metadata attached to a resource.
5476
5556
optionalObjectMapmeta=1;
@@ -7425,6 +7505,29 @@ message WriteOperation {
7425
7505
// When `true`, require that all actions target an index alias rather than an index. Default is `false`.
Copy file name to clipboardExpand all lines: protos/generated/services/default_service.proto
+169Lines changed: 169 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,175 @@ message BulkRequest {
48
48
optionalGlobalParamsglobal_params=13;
49
49
}
50
50
51
+
messageDeleteRequest {
52
+
// The unique identifier for the document.
53
+
stringid=1;
54
+
55
+
// Name of the target index.
56
+
stringindex=2;
57
+
58
+
// Only perform the operation if the document has this primary term.
59
+
optionalint64if_primary_term=3;
60
+
61
+
// Only perform the operation if the document has this sequence number.
62
+
optionalint64if_seq_no=4;
63
+
64
+
// If `true`, OpenSearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes. Valid values: `true`, `false`, `wait_for`.
65
+
optionalRefreshrefresh=5;
66
+
67
+
// A custom value used to route operations to a specific shard.
68
+
repeatedstringrouting=6;
69
+
70
+
// Period to wait for active shards.
71
+
optionalstringtimeout=7;
72
+
73
+
// Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.
74
+
optionalint64version=8;
75
+
76
+
// The specific version type: `external`, `external_gte`.
77
+
optionalVersionTypeversion_type=9;
78
+
79
+
// The number of shard copies that must be active before proceeding with the operation. Set to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
// A comma-separated list of data streams, indexes, and aliases. Supports wildcards (`*`).
91
+
stringindex=2;
92
+
93
+
// `true` or `false` to return the `_source` field or not, or a list of fields to return.
94
+
optionalSourceConfigParamx_source=3;
95
+
96
+
// A comma-separated list of source fields to exclude in the response.
97
+
repeatedstringx_source_excludes=4;
98
+
99
+
// A comma-separated list of source fields to include in the response.
100
+
repeatedstringx_source_includes=5;
101
+
102
+
// Specifies the node or shard the operation should be performed on. Random by default.
103
+
optionalstringpreference=6;
104
+
105
+
// If `true`, the request is real time as opposed to near real time.
106
+
optionalboolrealtime=7;
107
+
108
+
// If `true`, OpenSearch refreshes all shards involved in the delete by query after the request completes.
109
+
optionalRefreshrefresh=8;
110
+
111
+
// Target the specified primary shard.
112
+
repeatedstringrouting=9;
113
+
114
+
// List of stored fields to return as part of a hit. If no fields are specified, no stored fields are included in the response. If this field is specified, the `_source` parameter defaults to false.
115
+
repeatedstringstored_fields=10;
116
+
117
+
// Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.
118
+
optionalint64version=11;
119
+
120
+
// The specific version type: `external`, `external_gte`.
121
+
optionalVersionTypeversion_type=12;
122
+
123
+
// Whether to return human-readable values for statistics.
124
+
optionalboolhuman=13;
125
+
126
+
// Whether to include the stack trace of returned errors.
127
+
optionalboolerror_trace=14;
128
+
129
+
// A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
130
+
repeatedstringfilter_path=15;
131
+
}
132
+
133
+
messageGetRequest {
134
+
// The unique identifier of the document.
135
+
stringid=1;
136
+
137
+
// The name of the index containing the document.
138
+
stringindex=2;
139
+
140
+
// Set to `true` or `false` to return the `_source` field or not, or a list of fields to return.
141
+
optionalSourceConfigParamx_source=3;
142
+
143
+
// A comma-separated list of source fields to exclude in the response.
144
+
repeatedstringx_source_excludes=4;
145
+
146
+
// A comma-separated list of source fields to include in the response.
147
+
repeatedstringx_source_includes=5;
148
+
149
+
// Specifies the node or shard the operation should be performed on. Random by default.
150
+
optionalstringpreference=6;
151
+
152
+
// If `true`, the request is real time as opposed to near real time.
153
+
optionalboolrealtime=7;
154
+
155
+
// If `true`, OpenSearch refreshes the affected shards to make this operation visible to search. If `false`, do nothing with refreshes.
156
+
optionalRefreshrefresh=8;
157
+
158
+
// Target the specified primary shard.
159
+
repeatedstringrouting=9;
160
+
161
+
// List of stored fields to return as part of a hit. If no fields are specified, no stored fields are included in the response. If this field is specified, the `_source` parameter defaults to false.
162
+
repeatedstringstored_fields=10;
163
+
164
+
// Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.
165
+
optionalint64version=11;
166
+
167
+
// The specific version type: `internal`, `external`, `external_gte`.
168
+
optionalVersionTypeversion_type=12;
169
+
170
+
// Global query parameters
171
+
optionalGlobalParamsglobal_params=13;
172
+
}
173
+
174
+
messageIndexRequest {
175
+
// The unique identifier for the document.
176
+
stringid=1;
177
+
178
+
// Name of the data stream or index to target.
179
+
stringindex=2;
180
+
181
+
ObjectMapbody=3;
182
+
183
+
// Only perform the operation if the document has this primary term.
184
+
optionalint64if_primary_term=4;
185
+
186
+
// Only perform the operation if the document has this sequence number.
187
+
optionalint64if_seq_no=5;
188
+
189
+
// Set to create to only index the document if it does not already exist (put if absent). If a document with the specified `_id` already exists, the indexing operation will fail. Same as using the `<index>/_create` endpoint. Valid values: `index`, `create`. If document id is specified, it defaults to `index`. Otherwise, it defaults to `create`.
190
+
optionalOpTypeop_type=6;
191
+
192
+
// ID of the pipeline to use to preprocess incoming documents. If the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request. If a final pipeline is configured it will always run, regardless of the value of this parameter.
193
+
optionalstringpipeline=7;
194
+
195
+
// If `true`, OpenSearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes. Valid values: `true`, `false`, `wait_for`.
196
+
optionalRefreshrefresh=8;
197
+
198
+
// If `true`, the destination must be an index alias.
199
+
optionalboolrequire_alias=9;
200
+
201
+
// A custom value used to route operations to a specific shard.
202
+
repeatedstringrouting=10;
203
+
204
+
// Period the request waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.
205
+
optionalstringtimeout=11;
206
+
207
+
// Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.
208
+
optionalint64version=12;
209
+
210
+
// The specific version type: `external`, `external_gte`.
211
+
optionalVersionTypeversion_type=13;
212
+
213
+
// The number of shard copies that must be active before proceeding with the operation. Set to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
// Indicates which source fields are returned for matching documents. These fields are returned in the `hits._source` property of the search response. Valid values are: `true` to return the entire document source; `false` to not return the document source; `<string>` to return the source fields that are specified as a comma-separated list (supports wildcard (`*`) patterns).
0 commit comments