forked from opensearch-project/opensearch-api-specification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_core.mtermvectors.yaml
67 lines (67 loc) · 2.22 KB
/
_core.mtermvectors.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
openapi: 3.1.0
info:
title: Schemas of _core.mtermvectors category
description: Schemas of _core.mtermvectors category
version: 1.0.0
paths: {}
components:
schemas:
Operation:
type: object
properties:
_id:
$ref: '_common.yaml#/components/schemas/Id'
_index:
$ref: '_common.yaml#/components/schemas/IndexName'
doc:
description: An artificial document for which you want to retrieve term vectors.
type: object
fields:
$ref: '_common.yaml#/components/schemas/Fields'
field_statistics:
description: When `true`, the response includes the document count, the sum of the document frequencies, and the sum of the term frequencies.
type: boolean
filter:
$ref: '_core.termvectors.yaml#/components/schemas/Filter'
offsets:
description: When `true`, the response includes the term offsets.
type: boolean
payloads:
description: When `true`, the response includes the term payloads.
type: boolean
positions:
description: When `true`, the response includes the term positions.
type: boolean
routing:
$ref: '_common.yaml#/components/schemas/Routing'
term_statistics:
description: When `true`, the response includes the term frequency and the document frequency.
type: boolean
version:
$ref: '_common.yaml#/components/schemas/VersionNumber'
version_type:
$ref: '_common.yaml#/components/schemas/VersionType'
required:
- _id
TermVectorsResult:
type: object
properties:
_id:
$ref: '_common.yaml#/components/schemas/Id'
_index:
$ref: '_common.yaml#/components/schemas/IndexName'
_version:
$ref: '_common.yaml#/components/schemas/VersionNumber'
took:
type: number
found:
type: boolean
term_vectors:
type: object
additionalProperties:
$ref: '_core.termvectors.yaml#/components/schemas/TermVector'
error:
$ref: '_common.yaml#/components/schemas/ErrorCause'
required:
- _id
- _index