Skip to content

Commit d7aa359

Browse files
authored
Merge branch '2.x' into backport/backport-16818-to-2.x-take2
Signed-off-by: Michael Froh <[email protected]>
2 parents 3822628 + 452cf38 commit d7aa359

File tree

74 files changed

+4023
-362
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+4023
-362
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1212
- Add dynamic setting allowing size > 0 requests to be cached in the request cache ([#16483](https://github.com/opensearch-project/OpenSearch/pull/16483))
1313
- Support installing plugin SNAPSHOTs with SNASPHOT distribution ([#16581](https://github.com/opensearch-project/OpenSearch/pull/16581))
1414
- Make IndexStoreListener a pluggable interface ([#16583](https://github.com/opensearch-project/OpenSearch/pull/16583))
15+
- Support for keyword fields in star-tree index ([#16233](https://github.com/opensearch-project/OpenSearch/pull/16233))
1516
- Add a flag in QueryShardContext to differentiate inner hit query ([#16600](https://github.com/opensearch-project/OpenSearch/pull/16600))
1617
- Add vertical scaling and SoftReference for snapshot repository data cache ([#16489](https://github.com/opensearch-project/OpenSearch/pull/16489))
1718
- [Workload Management] Add Workload Management IT ([#16359](https://github.com/opensearch-project/OpenSearch/pull/16359))
@@ -23,10 +24,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
2324
- Add `verbose_pipeline` parameter to output each processor's execution details ([#16843](https://github.com/opensearch-project/OpenSearch/pull/16843)).
2425
- Add search replica stats to segment replication stats API ([#16678](https://github.com/opensearch-project/OpenSearch/pull/16678))
2526
- Introduce framework for auxiliary transports and an experimental gRPC transport plugin ([#16534](https://github.com/opensearch-project/OpenSearch/pull/16534))
27+
- Changes to support IP field in star tree indexing([#16641](https://github.com/opensearch-project/OpenSearch/pull/16641/))
28+
- Support object fields in star-tree index([#16728](https://github.com/opensearch-project/OpenSearch/pull/16728/))
2629
- Support searching from doc_value using termQueryCaseInsensitive/termQuery in flat_object/keyword field([#16974](https://github.com/opensearch-project/OpenSearch/pull/16974/))
2730
- Added a new `time` field to replace the deprecated `getTime` field in `GetStats`. ([#17009](https://github.com/opensearch-project/OpenSearch/pull/17009))
2831
- Improve performance of the bitmap filtering([#16936](https://github.com/opensearch-project/OpenSearch/pull/16936/))
2932
- Introduce Template query ([#16818](https://github.com/opensearch-project/OpenSearch/pull/16818))
33+
- Added ability to retrieve value from DocValues in a flat_object filed([#16802](https://github.com/opensearch-project/OpenSearch/pull/16802))
34+
- Added new Setting property UnmodifiableOnRestore to prevent updating settings on restore snapshot ([#16957](https://github.com/opensearch-project/OpenSearch/pull/16957))
35+
- Introduce Template query ([#16818](https://github.com/opensearch-project/OpenSearch/pull/16818))
36+
- Propagate the sourceIncludes and excludes fields from fetchSourceContext to FieldsVisitor. ([#17080](https://github.com/opensearch-project/OpenSearch/pull/17080))
3037

3138
### Dependencies
3239
- Bump `com.google.cloud:google-cloud-core-http` from 2.23.0 to 2.47.0 ([#16504](https://github.com/opensearch-project/OpenSearch/pull/16504))
@@ -100,6 +107,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
100107
- Fix Shallow copy snapshot failures on closed index ([#16868](https://github.com/opensearch-project/OpenSearch/pull/16868))
101108
- Fix multi-value sort for unsigned long ([#16732](https://github.com/opensearch-project/OpenSearch/pull/16732))
102109
- 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))
110+
- Stop processing search requests when _msearch request is cancelled ([#17005](https://github.com/opensearch-project/OpenSearch/pull/17005))
103111
- Fix GRPC AUX_TRANSPORT_PORT and SETTING_GRPC_PORT settings and remove lingering HTTP terminology ([#17037](https://github.com/opensearch-project/OpenSearch/pull/17037))
104112

105113
### Security

MAINTAINERS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This document contains a list of maintainers in this repo. See [opensearch-proje
1616
| Craig Perkins | [cwperks](https://github.com/cwperks) | Amazon |
1717
| Dan Widdis | [dbwiddis](https://github.com/dbwiddis) | Amazon |
1818
| Daniel "dB." Doubrovkine | [dblock](https://github.com/dblock) | Amazon |
19-
| Gao Binlong | [gaobinlong](https://github.com/gaobinlong) | Amazon |
19+
| Binlong Gao | [gaobinlong](https://github.com/gaobinlong) | Amazon |
2020
| Gaurav Bafna | [gbbafna](https://github.com/gbbafna) | Amazon |
2121
| Jay Deng | [jed326](https://github.com/jed326) | Amazon |
2222
| Kunal Kotwani | [kotwanikunal](https://github.com/kotwanikunal) | Amazon |

rest-api-spec/src/main/resources/rest-api-spec/test/index/92_flat_object_support_doc_values.yml

Lines changed: 49 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
# The test setup includes:
3-
# - Create flat_object mapping for flat_object_doc_values_test index
4-
# - Index 9 example documents
5-
# - Search tests about doc_values and index
3+
# - 1.Create flat_object mapping for flat_object_doc_values_test index
4+
# - 2.Index 9 example documents
5+
# - 3.Search tests about doc_values and index
6+
# - 4.Fetch doc_value from flat_object field
67

78
setup:
89
- skip:
@@ -834,3 +835,48 @@ teardown:
834835

835836
- length: { hits.hits: 1 }
836837
- match: { hits.hits.0._source.order: "order8" }
838+
839+
# Stored Fields with exact dot path.
840+
- do:
841+
search:
842+
body: {
843+
_source: false,
844+
query: {
845+
bool: {
846+
must: [
847+
{
848+
term: {
849+
order: "order0"
850+
}
851+
}
852+
]
853+
}
854+
},
855+
stored_fields: "_none_",
856+
docvalue_fields: [ "issue.labels.name","order" ]
857+
}
858+
859+
- length: { hits.hits: 1 }
860+
- match: { hits.hits.0.fields: { "order" : [ "order0" ], "issue.labels.name": [ "abc0" ] } }
861+
862+
- do:
863+
search:
864+
body: {
865+
_source: false,
866+
query: {
867+
bool: {
868+
must: [
869+
{
870+
term: {
871+
order: "order0"
872+
}
873+
}
874+
]
875+
}
876+
},
877+
stored_fields: "_none_",
878+
docvalue_fields: [ "issue.labels.name" ]
879+
}
880+
881+
- length: { hits.hits: 1 }
882+
- match: { hits.hits.0.fields: { "issue.labels.name": [ "abc0" ] } }

0 commit comments

Comments
 (0)