forked from opensearch-project/opensearch-api-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_core.reindex.yaml
66 lines (66 loc) · 2.09 KB
/
_core.reindex.yaml
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
openapi: 3.1.0
info:
title: Schemas of `_core.reindex` Category
description: Schemas of `_core.reindex` category.
version: 1.0.0
paths: {}
components:
schemas:
Destination:
type: object
properties:
index:
$ref: '_common.yaml#/components/schemas/IndexName'
op_type:
$ref: '_common.yaml#/components/schemas/OpType'
pipeline:
description: The name of the pipeline to use.
type: string
routing:
$ref: '_common.yaml#/components/schemas/Routing'
version_type:
$ref: '_common.yaml#/components/schemas/VersionType'
required:
- index
Source:
type: object
properties:
index:
$ref: '_common.yaml#/components/schemas/Indices'
query:
$ref: '_common.query_dsl.yaml#/components/schemas/QueryContainer'
remote:
$ref: '#/components/schemas/RemoteSource'
size:
description: |-
The number of documents to index per batch.
Use the `size` setting when indexing from a remote cluster. This ensures that batches fit in the on-heap buffer. The buffer defaults to a maximum size of `100MB`.
type: number
slice:
$ref: '_common.yaml#/components/schemas/SlicedScroll'
sort:
$ref: '_common.yaml#/components/schemas/Sort'
_source:
$ref: '_common.yaml#/components/schemas/Fields'
required:
- index
RemoteSource:
type: object
properties:
connect_timeout:
$ref: '_common.yaml#/components/schemas/Duration'
headers:
description: An object containing the headers of the request.
type: object
additionalProperties:
type: string
host:
$ref: '_common.yaml#/components/schemas/Host'
username:
$ref: '_common.yaml#/components/schemas/Username'
password:
$ref: '_common.yaml#/components/schemas/Password'
socket_timeout:
$ref: '_common.yaml#/components/schemas/Duration'
required:
- host