-
Notifications
You must be signed in to change notification settings - Fork 61
/
_common.yaml
2082 lines (2074 loc) · 60.2 KB
/
_common.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.1.0
info:
title: Schemas of _common category
description: Schemas of _common category
version: 1.0.0
paths: {}
components:
schemas:
Id:
type: string
AcknowledgedResponseBase:
type: object
properties:
acknowledged:
description: For a successful response, this value is always true. On failure, an exception is returned instead.
type: boolean
required:
- acknowledged
DocStatus:
description: |-
Item level REST category class codes during indexing.
type: object
properties:
1xx:
type: number
2xx:
type: number
3xx:
type: number
4xx:
type: number
5xx:
type: number
Duration:
description: |-
A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and
`d` (days). Also accepts "0" without a unit and "-1" to indicate an unspecified value.
pattern: ^([0-9]+)(?:d|h|m|s|ms|micros|nanos)$
type: string
Metadata:
type: object
additionalProperties: true
GeoBounds:
description: |-
A geo bounding box. It can be represented in various ways:
- as 4 top/bottom/left/right coordinates
- as 2 top_left / bottom_right points
- as 2 top_right / bottom_left points
- as a WKT bounding box
oneOf:
- $ref: '#/components/schemas/CoordsGeoBounds'
- $ref: '#/components/schemas/TopLeftBottomRightGeoBounds'
- $ref: '#/components/schemas/TopRightBottomLeftGeoBounds'
- $ref: '#/components/schemas/WktGeoBounds'
CoordsGeoBounds:
type: object
properties:
top:
type: number
bottom:
type: number
left:
type: number
right:
type: number
required:
- bottom
- left
- right
- top
TopLeftBottomRightGeoBounds:
type: object
properties:
top_left:
$ref: '#/components/schemas/GeoLocation'
bottom_right:
$ref: '#/components/schemas/GeoLocation'
required:
- bottom_right
- top_left
GeoLocation:
description: |-
A latitude/longitude as a 2 dimensional point. It can be represented in various ways:
- as a `{lat, long}` object
- as a geo hash value
- as a `[lon, lat]` array
- as a string in `"<lat>, <lon>"` or WKT point formats
oneOf:
- $ref: '#/components/schemas/LatLonGeoLocation'
- $ref: '#/components/schemas/GeoHashLocation'
- type: array
items:
type: number
- type: string
LatLonGeoLocation:
type: object
properties:
lat:
description: Latitude
type: number
lon:
description: Longitude
type: number
required:
- lat
- lon
GeoHashLocation:
type: object
properties:
geohash:
$ref: '#/components/schemas/GeoHash'
required:
- geohash
GeoHash:
type: string
TopRightBottomLeftGeoBounds:
type: object
properties:
top_right:
$ref: '#/components/schemas/GeoLocation'
bottom_left:
$ref: '#/components/schemas/GeoLocation'
required:
- bottom_left
- top_right
WktGeoBounds:
type: object
properties:
wkt:
type: string
required:
- wkt
EpochTimeUnitMillis:
allOf:
- $ref: '#/components/schemas/UnitMillis'
UnitMillis:
description: Time unit for milliseconds
type: number
DurationLarge:
description: |-
A date histogram interval. Similar to `Duration` with additional units: `w` (week), `M` (month), `q` (quarter) and
`y` (year)
type: string
FieldValue:
description: A field value.
oneOf:
- type: number
- type: number
- type: string
- type: boolean
- nullable: true
type: string
- type: object
Void:
description: |-
The absence of any type. This is commonly used in APIs that don't return a body.
Although "void" is generally used for the unit type that has only one value, this is to be interpreted as
the bottom type that has no value at all. Most languages have a unit type, but few have a bottom type.
See https://en.m.wikipedia.org/wiki/Unit_type and https://en.m.wikipedia.org/wiki/Bottom_type
type: object
GeoTile:
description: A map tile reference, represented as `{zoom}/{x}/{y}`
type: string
GeoHexCell:
description: A map hex cell (H3) reference
type: string
IndexName:
type: string
Field:
description: Path to field or array of paths. Some API's support wildcards in the path to select multiple fields.
type: string
SequenceNumber:
type: number
VersionNumber:
type: number
SortResults:
type: array
items:
$ref: '#/components/schemas/FieldValue'
GeoLine:
type: object
properties:
type:
description: Always `"LineString"`
type: string
coordinates:
description: Array of `[lon, lat]` coordinates
type: array
items:
type: array
items:
type: number
required:
- coordinates
- type
ClusterStatistics:
type: object
properties:
skipped:
type: number
successful:
type: number
total:
type: number
running:
type: number
partial:
type: number
failed:
type: number
details:
type: object
additionalProperties:
$ref: '#/components/schemas/ClusterDetails'
required:
- failed
- partial
- running
- skipped
- successful
- total
ClusterDetails:
type: object
properties:
status:
$ref: '#/components/schemas/ClusterSearchStatus'
indices:
type: string
took:
$ref: '#/components/schemas/DurationValueUnitMillis'
timed_out:
type: boolean
_shards:
$ref: '#/components/schemas/ShardStatistics'
failures:
type: array
items:
$ref: '#/components/schemas/ShardFailure'
required:
- indices
- status
- timed_out
ClusterSearchStatus:
type: string
enum:
- failed
- partial
- running
- skipped
- successful
DurationValueUnitMillis:
allOf:
- $ref: '#/components/schemas/UnitMillis'
ShardStatistics:
type: object
properties:
failed:
$ref: '#/components/schemas/uint'
successful:
$ref: '#/components/schemas/uint'
total:
$ref: '#/components/schemas/uint'
failures:
type: array
items:
$ref: '#/components/schemas/ShardFailure'
skipped:
$ref: '#/components/schemas/uint'
required:
- failed
- successful
- total
uint:
type: number
ShardFailure:
type: object
properties:
index:
$ref: '#/components/schemas/IndexName'
node:
type: string
reason:
$ref: '#/components/schemas/ErrorCause'
shard:
type: number
status:
type: string
required:
- reason
- shard
ErrorCause:
type: object
properties:
type:
description: The type of error
type: string
reason:
description: A human-readable explanation of the error, in english
type: string
stack_trace:
description: The server stack trace. Present only if the `error_trace=true` parameter was sent with the request.
type: string
caused_by:
$ref: '#/components/schemas/ErrorCause'
root_cause:
type: array
items:
$ref: '#/components/schemas/ErrorCause'
suppressed:
type: array
items:
$ref: '#/components/schemas/ErrorCause'
required:
- type
DurationValueUnitNanos:
allOf:
- $ref: '#/components/schemas/UnitNanos'
UnitNanos:
description: Time unit for nanoseconds
type: number
ScrollId:
type: string
Routing:
type: string
DateTime:
description: |-
A date and time, either as a string whose format can depend on the context (defaulting to ISO 8601), or a
number of milliseconds since the Epoch. OpenSearch accepts both as input, but will generally output a string
representation.
oneOf:
- type: string
- $ref: '#/components/schemas/EpochTimeUnitMillis'
Indices:
oneOf:
- $ref: '#/components/schemas/IndexName'
- type: array
items:
$ref: '#/components/schemas/IndexName'
Fields:
oneOf:
- $ref: '#/components/schemas/Field'
- type: array
items:
$ref: '#/components/schemas/Field'
ExpandWildcards:
oneOf:
- $ref: '#/components/schemas/ExpandWildcard'
- type: array
items:
$ref: '#/components/schemas/ExpandWildcard'
ExpandWildcard:
type: string
enum:
- all
- closed
- hidden
- none
- open
VersionString:
type: string
SearchType:
type: string
enum:
- dfs_query_then_fetch
- query_then_fetch
SuggestMode:
type: string
enum:
- always
- missing
- popular
MinimumShouldMatch:
description: The minimum number of terms that should match as integer, percentage or range
oneOf:
- type: number
- type: string
Distance:
type: string
DateMath:
type: string
Script:
oneOf:
- $ref: '#/components/schemas/InlineScript'
- $ref: '#/components/schemas/StoredScriptId'
InlineScript:
allOf:
- $ref: '#/components/schemas/ScriptBase'
- type: object
properties:
lang:
$ref: '#/components/schemas/ScriptLanguage'
options:
type: object
additionalProperties:
type: string
source:
description: The script source.
type: string
required:
- source
ScriptLanguage:
type: string
enum:
- expression
- java
- mustache
- painless
ScriptBase:
type: object
properties:
params:
description: |-
Specifies any named parameters that are passed into the script as variables.
Use parameters instead of hard-coded values to decrease compile time.
type: object
additionalProperties:
type: object
StoredScriptId:
allOf:
- $ref: '#/components/schemas/ScriptBase'
- type: object
properties:
id:
$ref: '#/components/schemas/Id'
required:
- id
MultiTermQueryRewrite:
type: string
Fuzziness:
oneOf:
- type: string
- type: number
GeoDistanceType:
type: string
enum:
- arc
- plane
Name:
type: string
ScriptField:
type: object
properties:
script:
$ref: '#/components/schemas/Script'
ignore_failure:
type: boolean
required:
- script
Sort:
oneOf:
- $ref: '#/components/schemas/SortCombinations'
- type: array
items:
$ref: '#/components/schemas/SortCombinations'
SortCombinations:
oneOf:
- $ref: '#/components/schemas/Field'
- $ref: '#/components/schemas/SortOptions'
SortOptions:
type: object
properties:
_score:
$ref: '#/components/schemas/ScoreSort'
_doc:
$ref: '#/components/schemas/ScoreSort'
_geo_distance:
$ref: '#/components/schemas/GeoDistanceSort'
_script:
$ref: '#/components/schemas/ScriptSort'
minProperties: 1
maxProperties: 1
ScoreSort:
type: object
properties:
order:
$ref: '#/components/schemas/SortOrder'
SortOrder:
type: string
enum:
- asc
- desc
GeoDistanceSort:
type: object
properties:
mode:
$ref: '#/components/schemas/SortMode'
distance_type:
$ref: '#/components/schemas/GeoDistanceType'
ignore_unmapped:
type: boolean
order:
$ref: '#/components/schemas/SortOrder'
unit:
$ref: '#/components/schemas/DistanceUnit'
SortMode:
type: string
enum:
- avg
- max
- median
- min
- sum
DistanceUnit:
type: string
enum:
- cm
- ft
- in
- km
- m
- mi
- mm
- nmi
- yd
ScriptSort:
type: object
properties:
order:
$ref: '#/components/schemas/SortOrder'
script:
$ref: '#/components/schemas/Script'
type:
$ref: '#/components/schemas/ScriptSortType'
mode:
$ref: '#/components/schemas/SortMode'
nested:
$ref: '#/components/schemas/NestedSortValue'
required:
- script
ScriptSortType:
type: string
enum:
- number
- string
- version
NestedSortValue:
type: object
properties:
filter:
$ref: '_common.query_dsl.yaml#/components/schemas/QueryContainer'
max_children:
type: number
nested:
$ref: '#/components/schemas/NestedSortValue'
path:
$ref: '#/components/schemas/Field'
required:
- path
RelationName:
type: string
Ids:
oneOf:
- $ref: '#/components/schemas/Id'
- type: array
items:
$ref: '#/components/schemas/Id'
VersionType:
type: string
enum:
- external
- external_gte
- force
- internal
TimeZone:
type: string
DateFormat:
type: string
PipeSeparatedFlagsSimpleQueryStringFlag:
description: |-
A set of flags that can be represented as a single enum value or a set of values that are encoded
as a pipe-separated string
Depending on the target language, code generators can use this hint to generate language specific
flags enum constructs and the corresponding (de-)serialization code.
oneOf:
- $ref: '_common.query_dsl.yaml#/components/schemas/SimpleQueryStringFlag'
- type: string
GeoHashPrecision:
description: A precision that can be expressed as a geohash length between 1 and 12, or a distance measure like "1km", "10m".
oneOf:
- type: number
- type: string
GeoTilePrecision:
type: number
EmptyObject:
type: object
KnnQuery:
type: object
properties:
field:
$ref: '#/components/schemas/Field'
query_vector:
$ref: '#/components/schemas/QueryVector'
query_vector_builder:
$ref: '#/components/schemas/QueryVectorBuilder'
k:
description: The final number of nearest neighbors to return as top hits
type: number
num_candidates:
description: The number of nearest neighbor candidates to consider per shard
type: number
boost:
description: Boost value to apply to kNN scores
type: number
filter:
description: Filters for the kNN search query
oneOf:
- $ref: '_common.query_dsl.yaml#/components/schemas/QueryContainer'
- type: array
items:
$ref: '_common.query_dsl.yaml#/components/schemas/QueryContainer'
similarity:
description: The minimum similarity for a vector to be considered a match
type: number
required:
- field
- k
- num_candidates
QueryVector:
type: array
items:
type: number
QueryVectorBuilder:
type: object
properties:
text_embedding:
$ref: '#/components/schemas/TextEmbedding'
minProperties: 1
maxProperties: 1
TextEmbedding:
type: object
properties:
model_id:
type: string
model_text:
type: string
required:
- model_id
- model_text
SlicedScroll:
type: object
properties:
field:
$ref: '#/components/schemas/Field'
id:
$ref: '#/components/schemas/Id'
max:
type: number
required:
- id
- max
NodeName:
type: string
Refresh:
type: string
enum:
- 'false'
- 'true'
- wait_for
WaitForActiveShards:
oneOf:
- type: number
- $ref: '#/components/schemas/WaitForActiveShardOptions'
WaitForActiveShardOptions:
type: string
enum:
- all
- index-setting
InlineGetDictUserDefined:
type: object
properties:
fields:
type: object
additionalProperties:
type: object
found:
type: boolean
_seq_no:
$ref: '#/components/schemas/SequenceNumber'
_primary_term:
type: number
_routing:
$ref: '#/components/schemas/Routing'
_source:
type: object
additionalProperties: true
required:
- found
Names:
oneOf:
- $ref: '#/components/schemas/Name'
- type: array
items:
$ref: '#/components/schemas/Name'
NodeIds:
oneOf:
- $ref: '#/components/schemas/NodeId'
- type: array
items:
$ref: '#/components/schemas/NodeId'
NodeId:
type: string
Bytes:
type: string
enum:
- b
- g
- gb
- k
- kb
- m
- mb
- p
- pb
- t
- tb
ByteSize:
oneOf:
- type: number
- type: string
Percentage:
oneOf:
- type: string
- type: number
Host:
type: string
Ip:
type: string
StringifiedEpochTimeUnitSeconds:
description: |-
Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior
is used to capture this behavior while keeping the semantics of the field type.
Depending on the target language, code generators can keep the union or remove it and leniently parse
strings to the target type.
oneOf:
- $ref: '#/components/schemas/EpochTimeUnitSeconds'
- type: string
EpochTimeUnitSeconds:
allOf:
- $ref: '#/components/schemas/UnitSeconds'
UnitSeconds:
description: Time unit for seconds
type: number
TimeOfDay:
description: Time of day, expressed as HH:MM:SS
type: string
TimeUnit:
type: string
enum:
- d
- h
- m
- micros
- ms
- nanos
- s
HealthStatus:
type: string
enum:
- green
- red
- yellow
HealthStatusCapitalized:
type: string
enum:
- GREEN
- RED
- YELLOW
ScheduleTimeOfDay:
description: A time of day, expressed either as `hh:mm`, `noon`, `midnight`, or an hour/minutes structure.
oneOf:
- type: string
- $ref: '#/components/schemas/HourAndMinute'
HourAndMinute:
type: object
properties:
hour:
type: array
items:
type: number
minute:
type: array
items:
type: number
required:
- hour
- minute
Uuid:
type: string
ScrollIds:
oneOf:
- $ref: '#/components/schemas/ScrollId'
- type: array
items:
$ref: '#/components/schemas/ScrollId'
TransportAddress:
type: string
Stringifiedinteger:
description: |-
Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior
is used to capture this behavior while keeping the semantics of the field type.
Depending on the target language, code generators can keep the union or remove it and leniently parse
strings to the target type.
oneOf:
- type: number
- type: string
Stringifiedboolean:
description: |-
Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior
is used to capture this behavior while keeping the semantics of the field type.
Depending on the target language, code generators can keep the union or remove it and leniently parse
strings to the target type.
oneOf:
- type: boolean
- type: string
PipelineName:
type: string
StringifiedEpochTimeUnitMillis:
description: |-
Some APIs will return values such as numbers also as a string (notably epoch timestamps). This behavior
is used to capture this behavior while keeping the semantics of the field type.
Depending on the target language, code generators can keep the union or remove it and leniently parse
strings to the target type.
oneOf:
- $ref: '#/components/schemas/EpochTimeUnitMillis'
- type: string
DFIIndependenceMeasure:
type: string
enum:
- chisquared
- saturated
- standardized
DFRAfterEffect:
type: string
enum:
- b
- l
- no
DFRBasicModel:
type: string
enum:
- be
- d
- g
- if
- in
- ine
- p
Normalization:
type: string
enum:
- h1
- h2
- h3
- no
- z
IBDistribution:
type: string
enum:
- ll
- spl
IBLambda:
type: string
enum:
- df
- ttf
byte:
type: number
short:
type: number
ulong:
type: number
Level:
type: string
enum:
- cluster
- indices
- shards
WaitForEvents:
type: string
enum:
- high
- immediate
- languid
- low
- normal
- urgent
DataStreamName:
type: string
Metrics:
oneOf:
- type: string
- type: array
items:
type: string
CompletionStats:
type: object
properties:
size_in_bytes:
description: Total amount, in bytes, of memory used for completion across all shards assigned to selected nodes.
type: number
size:
$ref: '#/components/schemas/ByteSize'
fields:
type: object
additionalProperties:
$ref: '#/components/schemas/FieldSizeUsage'
required:
- size_in_bytes
FieldSizeUsage:
type: object
properties:
size:
$ref: '#/components/schemas/ByteSize'
size_in_bytes:
type: number
required:
- size_in_bytes
DocStats:
type: object
properties:
count:
description: |-
Total number of non-deleted documents across all primary shards assigned to selected nodes.
This number is based on documents in Lucene segments and may include documents from nested fields.
type: number
deleted:
description: |-
Total number of deleted documents across all primary shards assigned to selected nodes.
This number is based on documents in Lucene segments.
OpenSearch reclaims the disk space of deleted Lucene documents when a segment is merged.
type: number
required:
- count
FielddataStats:
type: object
properties:
evictions:
type: number
memory_size:
$ref: '#/components/schemas/ByteSize'
memory_size_in_bytes:
type: number
fields:
type: object
additionalProperties:
$ref: '#/components/schemas/FieldMemoryUsage'
required:
- memory_size_in_bytes
FieldMemoryUsage:
type: object
properties:
memory_size:
$ref: '#/components/schemas/ByteSize'
memory_size_in_bytes:
type: number
required:
- memory_size_in_bytes
QueryCacheStats:
type: object
properties:
cache_count:
description: |-
Total number of entries added to the query cache across all shards assigned to selected nodes.
This number includes current and evicted entries.
type: number
cache_size:
description: Total number of entries currently in the query cache across all shards assigned to selected nodes.
type: number
evictions:
description: Total number of query cache evictions across all shards assigned to selected nodes.
type: number
hit_count:
description: Total count of query cache hits across all shards assigned to selected nodes.
type: number
memory_size:
$ref: '#/components/schemas/ByteSize'
memory_size_in_bytes:
description: Total amount, in bytes, of memory used for the query cache across all shards assigned to selected nodes.
type: number
miss_count:
description: Total count of query cache misses across all shards assigned to selected nodes.
type: number
total_count:
description: Total count of hits and misses in the query cache across all shards assigned to selected nodes.
type: number
required:
- cache_count
- cache_size
- evictions
- hit_count
- memory_size_in_bytes
- miss_count
- total_count