forked from opensearch-project/opensearch-api-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_core.reindex_rethrottle.yaml
102 lines (102 loc) · 3.21 KB
/
_core.reindex_rethrottle.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
openapi: 3.1.0
info:
title: Schemas of _core.reindex_rethrottle category
description: Schemas of _core.reindex_rethrottle category
version: 1.0.0
paths: {}
components:
schemas:
ReindexNode:
allOf:
- $ref: '_common.yaml#/components/schemas/BaseNode'
- type: object
properties:
tasks:
type: object
additionalProperties:
$ref: '#/components/schemas/ReindexTask'
required:
- tasks
ReindexTask:
type: object
properties:
action:
type: string
cancellable:
type: boolean
description:
type: string
id:
type: number
node:
$ref: '_common.yaml#/components/schemas/Name'
running_time_in_nanos:
$ref: '_common.yaml#/components/schemas/DurationValueUnitNanos'
start_time_in_millis:
$ref: '_common.yaml#/components/schemas/EpochTimeUnitMillis'
status:
$ref: '#/components/schemas/ReindexStatus'
type:
type: string
headers:
$ref: '_common.yaml#/components/schemas/HttpHeaders'
required:
- action
- cancellable
- description
- id
- node
- running_time_in_nanos
- start_time_in_millis
- status
- type
- headers
ReindexStatus:
type: object
properties:
batches:
description: The number of scroll responses pulled back by the reindex.
type: number
created:
description: The number of documents that were successfully created.
type: number
deleted:
description: The number of documents that were successfully deleted.
type: number
noops:
description: The number of documents that were ignored because the script used for the reindex returned a `noop` value for `ctx.op`.
type: number
requests_per_second:
description: The number of requests per second effectively executed during the reindex.
type: number
retries:
$ref: '_common.yaml#/components/schemas/Retries'
throttled:
$ref: '_common.yaml#/components/schemas/Duration'
throttled_millis:
$ref: '_common.yaml#/components/schemas/DurationValueUnitMillis'
throttled_until:
$ref: '_common.yaml#/components/schemas/Duration'
throttled_until_millis:
$ref: '_common.yaml#/components/schemas/DurationValueUnitMillis'
total:
description: The number of documents that were successfully processed.
type: number
updated:
description: The number of documents that were successfully updated, for example, a document with same ID already existed prior to reindex updating it.
type: number
version_conflicts:
description: The number of version conflicts that reindex hits.
type: number
required:
- batches
- created
- deleted
- noops
- requests_per_second
- retries
- throttled_millis
- throttled_until_millis
- total
- updated
- version_conflicts