Skip to content

Commit 879e245

Browse files
authored
Merge branch '9.2' into 9.2-lucene_10_3_1
2 parents 51693b8 + 8a107e0 commit 879e245

File tree

49 files changed

+704
-119
lines changed

Some content is hidden

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

49 files changed

+704
-119
lines changed

build-tools/src/main/java/org/elasticsearch/gradle/testclusters/ElasticsearchNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1407,7 +1407,7 @@ private void createConfiguration() {
14071407
// Limit the number of allocated processors for all nodes in the cluster by default.
14081408
// This is to ensure that the tests run consistently across different environments.
14091409
String processorCount = shouldConfigureTestClustersWithOneProcessor() ? "1" : "2";
1410-
if (getVersion().onOrAfter("7.6.0")) {
1410+
if (getVersion().onOrAfter("7.4.0")) {
14111411
baseConfig.put("node.processors", processorCount);
14121412
} else {
14131413
baseConfig.put("processors", processorCount);

docs/changelog/135446.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 135446
2+
summary: Fix projection generation when pruning left join
3+
area: ES|QL
4+
type: bug
5+
issues: []

docs/changelog/135966.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 135966
2+
summary: Ensure queued `AbstractRunnables` are notified when executor stops
3+
area: Machine Learning
4+
type: bug
5+
issues:
6+
- 134651

docs/changelog/136017.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 136017
2+
summary: Cohere service Model Id field is required
3+
area: Machine Learning
4+
type: bug
5+
issues: []

docs/reference/elasticsearch/mapping-reference/semantic-text.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,31 @@ PUT test-index
611611
}
612612
```
613613

614+
## Querying `semantic_text` fields [querying-semantic-text-fields]
615+
616+
You can query `semantic_text` fields using the following query types:
617+
618+
- Match query: The recommended method for querying `semantic_text` fields. You can use [Query DSL](/reference/query-languages/query-dsl/query-dsl-match-query.md) or [ES|QL](/reference/query-languages/esql/functions-operators/search-functions.md#esql-match) syntax.
619+
<!--
620+
Refer to examples of match queries on `semantic_text` fields.
621+
-->
622+
623+
- [kNN query](/reference/query-languages/query-dsl/query-dsl-knn-query.md): Finds the nearest vectors to a query vector using a similarity metric, mainly for advanced or combined search use cases.
624+
<!--
625+
Refer to examples of kNN queries on `semantic_text` fields.
626+
-->
627+
628+
- [Sparse vector query](/reference/query-languages/query-dsl/query-dsl-sparse-vector-query.md): Executes searches using sparse vectors generated by a sparse retrieval model such as [ELSER](docs-content://explore-analyze/machine-learning/nlp/ml-nlp-elser.md).
629+
<!--
630+
Refer to examples of sparse vector queries on `semantic_text` fields.
631+
-->
632+
633+
- [Semantic query](/reference/query-languages/query-dsl/query-dsl-semantic-query.md): We don't recommend this legacy query type for _new_ projects, because the alternatives in this list enable more flexibility and customization. The `semantic` query remains available to support existing implementations.
634+
<!--
635+
Refer to examples of semantic queries on `semantic_text` fields.
636+
-->
637+
638+
614639
## Troubleshooting semantic_text fields [troubleshooting-semantic-text-fields]
615640

616641
If you want to verify that your embeddings look correct, you can view the

docs/reference/query-languages/query-dsl/query-dsl-semantic-query.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ applies_to:
99

1010
# Semantic query [query-dsl-semantic-query]
1111

12+
::::{note}
13+
We don't recommend this legacy query type for _new_ projects. Use the match query (with [QueryDSL](/reference/query-languages/query-dsl/query-dsl-match-query.md) or [ESQL](/reference/query-languages/esql/functions-operators/search-functions.md#esql-match)) instead. The semantic query remains available to support existing implementations.
14+
::::
15+
1216
The `semantic` query type enables you to perform [semantic search](docs-content://solutions/search/semantic-search.md) on data stored in a [`semantic_text`](/reference/elasticsearch/mapping-reference/semantic-text.md) field.
1317

1418

gradle/verification-metadata.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1199,9 +1199,9 @@
11991199
<sha256 value="64fab42f17bf8e0efb193dd34da716ef7abb7515234036119df1776b808dc066" origin="Generated by Gradle"/>
12001200
</artifact>
12011201
</component>
1202-
<component group="com.nvidia.cuvs" name="cuvs-java" version="25.10.0">
1203-
<artifact name="cuvs-java-25.10.0.jar">
1204-
<sha256 value="2d4cca3b6b6c7c4d3c1a2f57c00cb55f7a45699536ad356699f32bcea7714539" origin="Generated by Gradle"/>
1202+
<component group="com.nvidia.cuvs" name="cuvs-java" version="25.10.0-815d86dd">
1203+
<artifact name="cuvs-java-25.10.0-815d86dd.jar">
1204+
<sha256 value="b15a5f63b7cc2349444ee5470dfe7a316ccd11b6fcc4be3dd4b11aaeb2ae65fe" origin="Generated by Gradle"/>
12051205
</artifact>
12061206
</component>
12071207
<component group="com.perforce" name="p4java" version="2015.2.1365273">

muted-tests.yml

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -633,39 +633,15 @@ tests:
633633
- class: org.elasticsearch.xpack.logsdb.qa.BulkDynamicMappingChallengeRestIT
634634
method: testMatchAllQuery
635635
issue: https://github.com/elastic/elasticsearch/issues/135820
636-
- class: org.elasticsearch.upgrades.FullClusterRestartDownsampleIT
637-
method: testRollupIndex {cluster=UPGRADED}
638-
issue: https://github.com/elastic/elasticsearch/issues/135906
639-
- class: org.elasticsearch.upgrades.FullClusterRestartIT
640-
method: testSingleDoc {cluster=UPGRADED}
641-
issue: https://github.com/elastic/elasticsearch/issues/135908
642-
- class: org.elasticsearch.upgrades.FullClusterRestartIT
643-
method: testRollover {cluster=UPGRADED}
644-
issue: https://github.com/elastic/elasticsearch/issues/135952
645636
- class: org.elasticsearch.datastreams.DataStreamIndexSettingsProviderTests
646637
method: testGetAdditionalIndexSettingsMappingsMerging
647638
issue: https://github.com/elastic/elasticsearch/issues/135884
648639
- class: org.elasticsearch.xpack.esql.action.CrossClusterAsyncQueryStopIT
649640
method: testStopQueryInlineStats
650641
issue: https://github.com/elastic/elasticsearch/issues/135032
651-
- class: org.elasticsearch.upgrades.FullClusterRestartIT
652-
method: testResize {cluster=UPGRADED}
653-
issue: https://github.com/elastic/elasticsearch/issues/135909
654-
- class: org.elasticsearch.upgrades.FullClusterRestartIT
655-
method: testSearchTimeSeriesMode {cluster=UPGRADED}
656-
issue: https://github.com/elastic/elasticsearch/issues/135963
657-
- class: org.elasticsearch.upgrades.FullClusterRestartIT
658-
method: testClusterState {cluster=UPGRADED}
659-
issue: https://github.com/elastic/elasticsearch/issues/135960
660-
- class: org.elasticsearch.upgrades.FullClusterRestartIT
661-
method: testForbidDisableSoftDeletesOnRestore {cluster=UPGRADED}
662-
issue: https://github.com/elastic/elasticsearch/issues/135937
663-
- class: org.elasticsearch.upgrades.FullClusterRestartIT
664-
method: testRomanianAnalyzerBWC {cluster=UPGRADED}
665-
issue: https://github.com/elastic/elasticsearch/issues/135948
666-
- class: org.elasticsearch.upgrades.FullClusterRestartIT
667-
method: testRecovery {cluster=UPGRADED}
668-
issue: https://github.com/elastic/elasticsearch/issues/135953
642+
- class: org.elasticsearch.datastreams.DataStreamIndexSettingsProviderTests
643+
method: testGetAdditionalIndexSettings
644+
issue: https://github.com/elastic/elasticsearch/issues/135972
669645

670646
# Examples:
671647
#

qa/full-cluster-restart/src/javaRestTest/java/org/elasticsearch/upgrades/FullClusterRestartDownsampleIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ private static ElasticsearchCluster buildCluster() {
5757
.apply(() -> clusterConfig)
5858
.feature(FeatureFlag.TIME_SERIES_MODE);
5959

60-
if (oldVersion.before(Version.fromString("8.18.0"))) {
60+
if (oldVersion.before(Version.fromString("8.18.0")) || isOldClusterDetachedVersion()) {
6161
cluster.jvmArg("-da:org.elasticsearch.index.mapper.DocumentMapper");
6262
cluster.jvmArg("-da:org.elasticsearch.index.mapper.MapperService");
6363
}

qa/full-cluster-restart/src/javaRestTest/java/org/elasticsearch/upgrades/FullClusterRestartIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private static ElasticsearchCluster buildCluster() {
118118
.apply(() -> clusterConfig)
119119
.feature(FeatureFlag.TIME_SERIES_MODE);
120120

121-
if (oldVersion.before(Version.fromString("8.18.0"))) {
121+
if (oldVersion.before(Version.fromString("8.18.0")) || isOldClusterDetachedVersion()) {
122122
cluster.jvmArg("-da:org.elasticsearch.index.mapper.DocumentMapper");
123123
cluster.jvmArg("-da:org.elasticsearch.index.mapper.MapperService");
124124
}

0 commit comments

Comments
 (0)