-
Notifications
You must be signed in to change notification settings - Fork 25.1k
/
Copy pathmtermvectors.json
117 lines (116 loc) · 4.1 KB
/
mtermvectors.json
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
{
"mtermvectors":{
"documentation":{
"url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html",
"description":"Returns multiple termvectors in one request."
},
"stability":"stable",
"url":{
"paths":[
{
"path":"/_mtermvectors",
"methods":[
"GET",
"POST"
]
},
{
"path":"/{index}/_mtermvectors",
"methods":[
"GET",
"POST"
],
"parts":{
"index":{
"type":"string",
"description":"The index in which the document resides."
}
}
},
{
"path" : "/{index}/{type}/_mtermvectors",
"methods" : ["GET", "POST"],
"parts" : {
"index" : {
"type" : "string",
"description" : "The index in which the document resides."
},
"type" : {
"type" : "string",
"description" : "The type of the document."
}
},
"deprecated":{
"version" : "7.0.0",
"description" : "Specifying types in urls has been deprecated"
}
}
]
},
"params":{
"ids":{
"type":"list",
"description":"A comma-separated list of documents ids. You must define ids as parameter or set \"ids\" or \"docs\" in the request body"
},
"term_statistics":{
"type":"boolean",
"description":"Specifies if total term frequency and document frequency should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".",
"default":false
},
"field_statistics":{
"type":"boolean",
"description":"Specifies if document count, sum of document frequencies and sum of total term frequencies should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".",
"default":true
},
"fields":{
"type":"list",
"description":"A comma-separated list of fields to return. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\"."
},
"offsets":{
"type":"boolean",
"description":"Specifies if term offsets should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".",
"default":true
},
"positions":{
"type":"boolean",
"description":"Specifies if term positions should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".",
"default":true
},
"payloads":{
"type":"boolean",
"description":"Specifies if term payloads should be returned. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\".",
"default":true
},
"preference":{
"type":"string",
"description":"Specify the node or shard the operation should be performed on (default: random) .Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\"."
},
"routing":{
"type":"string",
"description":"Specific routing value. Applies to all returned documents unless otherwise specified in body \"params\" or \"docs\"."
},
"realtime":{
"type":"boolean",
"description":"Specifies if requests are real-time as opposed to near-real-time (default: true)."
},
"version":{
"type":"number",
"description":"Explicit version number for concurrency control"
},
"version_type":{
"type":"enum",
"options":[
"internal",
"external",
"external_gte",
"force"
],
"description":"Specific version type"
}
},
"body":{
"description":"Define ids, documents, parameters or a list of parameters per document here. You must at least provide a list of document ids. See documentation.",
"required":false
}
}
}