Skip to content

Commit

Permalink
Fix getTime field name to time in GetStats (opensearch-project#16894)
Browse files Browse the repository at this point in the history
Signed-off-by: hye-on <[email protected]>
  • Loading branch information
hye-on committed Jan 13, 2025
1 parent 8d5e1a3 commit dde2608
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Fix Shallow copy snapshot failures on closed index ([#16868](https://github.com/opensearch-project/OpenSearch/pull/16868))
- Fix multi-value sort for unsigned long ([#16732](https://github.com/opensearch-project/OpenSearch/pull/16732))
- The `phone-search` analyzer no longer emits the tel/sip prefix, international calling code, extension numbers and unformatted input as a token ([#16993](https://github.com/opensearch-project/OpenSearch/pull/16993))

- Fix `GetStats` field serialization where `getTime` is used instead of `time` ([#17008](https://github.com/opensearch-project/OpenSearch/pull/17008))
### Security

[Unreleased 2.x]: https://github.com/opensearch-project/OpenSearch/compare/2.18...2.x
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public XContentBuilder toXContent(XContentBuilder builder, Params params) throws
static final class Fields {
static final String GET = "get";
static final String TOTAL = "total";
static final String TIME = "getTime";
static final String TIME = "time";
static final String TIME_IN_MILLIS = "time_in_millis";
static final String EXISTS_TOTAL = "exists_total";
static final String EXISTS_TIME = "exists_time";
Expand Down

0 comments on commit dde2608

Please sign in to comment.