forked from opensearch-project/opensearch-api-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_core.field_caps.yaml
53 lines (53 loc) · 1.92 KB
/
_core.field_caps.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
openapi: 3.1.0
info:
title: Schemas of _core.field_caps category
description: Schemas of _core.field_caps category
version: 1.0.0
paths: {}
components:
schemas:
FieldCapability:
type: object
properties:
aggregatable:
description: Whether this field can be aggregated on all indexes.
type: boolean
indices:
$ref: '_common.yaml#/components/schemas/Indices'
meta:
$ref: '_common.yaml#/components/schemas/Metadata'
non_aggregatable_indices:
$ref: '_common.yaml#/components/schemas/Indices'
non_searchable_indices:
$ref: '_common.yaml#/components/schemas/Indices'
searchable:
description: Whether this field is indexed for search on all indexes.
type: boolean
type:
type: string
metadata_field:
description: Whether this field is registered as a metadata field.
type: boolean
time_series_dimension:
description: Whether this field is used as a time series dimension.
type: boolean
time_series_metric:
$ref: '_common.mapping.yaml#/components/schemas/TimeSeriesMetricType'
non_dimension_indices:
description: |-
If this list is present in the response, then indexes not contained in the list have the
field marked as a dimension. Any indexes contained in the list are not marked as a dimension.
type: array
items:
$ref: '_common.yaml#/components/schemas/IndexName'
metric_conflicts_indices:
description: |-
The list of indexes in which this field is present if the indexes
don't have the same `time_series_metric` value for the field.
type: array
items:
$ref: '_common.yaml#/components/schemas/IndexName'
required:
- aggregatable
- searchable
- type