Commit 4463ef9 1 parent d9318cf commit 4463ef9 Copy full SHA for 4463ef9
File tree 5 files changed +37
-32
lines changed
5 files changed +37
-32
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
7
7
### Added
8
8
- Adds ` Highlight ` field to ` SearchHit ` ([ #654 ] ( https://github.com/opensearch-project/opensearch-go/pull/654 ) )
9
9
- Adds ` MatchedQueries ` field to ` SearchHit ` ([ #663 ] ( https://github.com/opensearch-project/opensearch-go/pull/663 ) )
10
+ - Adds support for Opensearch 2.19 ([ #668 ] ( https://github.com/opensearch-project/opensearch-go/pull/668 ) )
10
11
11
12
### Changed
12
13
Original file line number Diff line number Diff line change @@ -249,15 +249,16 @@ type ClusterStatsNodes struct {
249
249
CacheReservedInBytes int `json:"cache_reserved_in_bytes"`
250
250
} `json:"fs"`
251
251
Plugins []struct {
252
- Name string `json:"name"`
253
- Version string `json:"version"`
254
- OpensearchVersion string `json:"opensearch_version"`
255
- JavaVersion string `json:"java_version"`
256
- Description string `json:"description"`
257
- Classname string `json:"classname"`
258
- CustomFoldername * string `json:"custom_foldername"`
259
- ExtendedPlugins []string `json:"extended_plugins"`
260
- HasNativeController bool `json:"has_native_controller"`
252
+ Name string `json:"name"`
253
+ Version string `json:"version"`
254
+ OpensearchVersion string `json:"opensearch_version"`
255
+ JavaVersion string `json:"java_version"`
256
+ Description string `json:"description"`
257
+ Classname string `json:"classname"`
258
+ CustomFoldername * string `json:"custom_foldername"`
259
+ ExtendedPlugins []string `json:"extended_plugins"`
260
+ OptionalExtendedPlugins []string `json:"optional_extended_plugins"`
261
+ HasNativeController bool `json:"has_native_controller"`
261
262
} `json:"plugins"`
262
263
NetworkTypes struct {
263
264
TransportTypes map [string ]int `json:"transport_types"`
Original file line number Diff line number Diff line change @@ -98,13 +98,14 @@ type IndicesStatsIndexing struct {
98
98
99
99
// IndicesStatsGet is a sub type of IndicesStatsInfo containing stats about index get
100
100
type IndicesStatsGet struct {
101
- Total int `json:"total"`
102
- TimeInMillis int `json:"time_in_millis"`
103
- ExistsTotal int `json:"exists_total"`
104
- ExistsTimeInMillis int `json:"exists_time_in_millis"`
105
- MissingTotal int `json:"missing_total"`
106
- MissingTimeInMillis int `json:"missing_time_in_millis"`
107
- Current int `json:"current"`
101
+ Total int `json:"total"`
102
+ TimeInMillis int `json:"time_in_millis"`
103
+ ExistsTotal int `json:"exists_total"`
104
+ ExistsTimeInMillis int `json:"exists_time_in_millis"`
105
+ MissingTotal int `json:"missing_total"`
106
+ MissingTimeInMillis int `json:"missing_time_in_millis"`
107
+ Current int `json:"current"`
108
+ GetTime string `json:"getTime"`
108
109
}
109
110
110
111
// IndicesStatsSearch is a sub type of IndicesStatsInfo containing stats about index search
Original file line number Diff line number Diff line change @@ -162,15 +162,16 @@ type NodesInfoHTTP struct {
162
162
163
163
// NodesInfoPlugin is a sub type of NodesInfo containing information about a plugin
164
164
type NodesInfoPlugin struct {
165
- Name string `json:"name"`
166
- Version string `json:"version"`
167
- OpensearchVersion string `json:"opensearch_version"`
168
- JavaVersion string `json:"java_version"`
169
- Description string `json:"description"`
170
- Classname string `json:"classname"`
171
- CustomFoldername * string `json:"custom_foldername"`
172
- ExtendedPlugins []string `json:"extended_plugins"`
173
- HasNativeController bool `json:"has_native_controller"`
165
+ Name string `json:"name"`
166
+ Version string `json:"version"`
167
+ OpensearchVersion string `json:"opensearch_version"`
168
+ JavaVersion string `json:"java_version"`
169
+ Description string `json:"description"`
170
+ Classname string `json:"classname"`
171
+ CustomFoldername * string `json:"custom_foldername"`
172
+ ExtendedPlugins []string `json:"extended_plugins"`
173
+ HasNativeController bool `json:"has_native_controller"`
174
+ OptionalExtendedPlugins []string `json:"optional_extended_plugins"`
174
175
}
175
176
176
177
// NodesInfoIngest is a sub type of NodesInfo containing information about ingest processors
Original file line number Diff line number Diff line change @@ -139,13 +139,14 @@ type NodesStatsIndices struct {
139
139
DocStatus map [string ]int `json:"doc_status"`
140
140
} `json:"indexing"`
141
141
Get struct {
142
- Total int `json:"total"`
143
- TimeInMillis int `json:"time_in_millis"`
144
- ExistsTotal int `json:"exists_total"`
145
- ExistsTimeInMillis int `json:"exists_time_in_millis"`
146
- MissingTotal int `json:"missing_total"`
147
- MissingTimeInMillis int `json:"missing_time_in_millis"`
148
- Current int `json:"current"`
142
+ Total int `json:"total"`
143
+ TimeInMillis int `json:"time_in_millis"`
144
+ ExistsTotal int `json:"exists_total"`
145
+ ExistsTimeInMillis int `json:"exists_time_in_millis"`
146
+ MissingTotal int `json:"missing_total"`
147
+ MissingTimeInMillis int `json:"missing_time_in_millis"`
148
+ Current int `json:"current"`
149
+ GetTime string `json:"getTime"`
149
150
} `json:"get"`
150
151
Search struct {
151
152
OpenContexts int `json:"open_contexts"`
You can’t perform that action at this time.
0 commit comments