-
Notifications
You must be signed in to change notification settings - Fork 68
/
Copy pathindices.segments.yaml
93 lines (93 loc) · 2.27 KB
/
indices.segments.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
openapi: 3.1.0
info:
title: Schemas of `indices.segments` Category
description: Schemas of `indices.segments` category.
version: 1.0.0
paths: {}
components:
schemas:
IndexSegment:
type: object
properties:
shards:
type: object
additionalProperties:
oneOf:
- type: array
items:
$ref: '#/components/schemas/ShardsSegment'
- $ref: '#/components/schemas/ShardsSegment'
required:
- shards
ShardsSegment:
type: object
properties:
num_committed_segments:
type: integer
format: int32
routing:
$ref: '#/components/schemas/ShardSegmentRouting'
num_search_segments:
type: integer
format: int32
segments:
type: object
additionalProperties:
$ref: '#/components/schemas/Segment'
required:
- num_committed_segments
- num_search_segments
- routing
- segments
ShardSegmentRouting:
type: object
properties:
node:
type: string
primary:
type: boolean
state:
type: string
required:
- node
- primary
- state
Segment:
type: object
properties:
generation:
type: integer
num_docs:
type: integer
deleted_docs:
type: integer
size:
$ref: '_common.yaml#/components/schemas/HumanReadableByteCount'
size_in_bytes:
$ref: '_common.yaml#/components/schemas/ByteCount'
memory:
$ref: '_common.yaml#/components/schemas/HumanReadableByteCount'
memory_in_bytes:
$ref: '_common.yaml#/components/schemas/ByteCount'
committed:
type: boolean
search:
type: boolean
version:
$ref: '_common.yaml#/components/schemas/VersionString'
compound:
type: boolean
attributes:
type: object
additionalProperties:
type: string
required:
- attributes
- committed
- compound
- deleted_docs
- generation
- num_docs
- search
- size_in_bytes
- version