Skip to content

Commit 13617b6

Browse files
authored
Merge branch 'main' into add_min_score_linear_retriever
2 parents bf69705 + 4d907ce commit 13617b6

File tree

105 files changed

+6149
-1438
lines changed

Some content is hidden

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

105 files changed

+6149
-1438
lines changed

build-tools-internal/version.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
elasticsearch = 9.1.0
2-
lucene = 10.2.1-snapshot-ae6484f43e6
2+
lucene = 10.2.1
33

44
bundled_jdk_vendor = openjdk
55
bundled_jdk = 24+36@1f9ff9062db4449d8ca828c504ffae90

docs/changelog/126401.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 126401
2+
summary: Add pinned retriever
3+
area: Relevance
4+
type: enhancement
5+
issues: []

docs/changelog/126856.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 126856
2+
summary: "[ML] Integrate SageMaker with OpenAI Embeddings"
3+
area: Machine Learning
4+
type: enhancement
5+
issues: []

docs/changelog/127330.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 127330
2+
summary: Move unpromotable relocations to its own transport action
3+
area: Recovery
4+
type: enhancement
5+
issues: []

docs/changelog/127343.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 127343
2+
summary: Upgrade to Lucene 10.2.1
3+
area: Search
4+
type: upgrade
5+
issues: []

docs/changelog/127475.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 127475
2+
summary: Remove dangling spaces wherever found
3+
area: Security
4+
type: bug
5+
issues: []

gradle/verification-metadata.xml

Lines changed: 80 additions & 75 deletions
Large diffs are not rendered by default.

libs/x-content/src/main/java/org/elasticsearch/xcontent/ObjectParser.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,11 @@ private void throwExpectedStartObject(XContentParser parser, XContentParser.Toke
333333

334334
private static void throwMissingRequiredFields(List<String[]> requiredFields) {
335335
final StringBuilder message = new StringBuilder();
336-
for (String[] fields : requiredFields) {
337-
message.append("Required one of fields ").append(Arrays.toString(fields)).append(", but none were specified. ");
336+
for (int i = 0; i < requiredFields.size(); i++) {
337+
if (i > 0) {
338+
message.append(" ");
339+
}
340+
message.append("Required one of fields ").append(Arrays.toString(requiredFields.get(i))).append(", but none were specified.");
338341
}
339342
throw new IllegalArgumentException(message.toString());
340343
}

libs/x-content/src/test/java/org/elasticsearch/xcontent/ObjectParserTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ public void testMultipleRequiredFieldSet() throws IOException {
10041004
IllegalArgumentException e = expectThrows(IllegalArgumentException.class, () -> objectParser.apply(parser, null));
10051005
assertThat(
10061006
e.getMessage(),
1007-
equalTo("Required one of fields [a, b], but none were specified. " + "Required one of fields [c, d], but none were specified. ")
1007+
equalTo("Required one of fields [a, b], but none were specified. " + "Required one of fields [c, d], but none were specified.")
10081008
);
10091009
}
10101010

muted-tests.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -399,9 +399,6 @@ tests:
399399
- class: org.elasticsearch.packaging.test.DockerTests
400400
method: test024InstallPluginFromArchiveUsingConfigFile
401401
issue: https://github.com/elastic/elasticsearch/issues/126936
402-
- class: org.elasticsearch.search.aggregations.bucket.FiltersIT
403-
method: testSimpleWithFilterQuery
404-
issue: https://github.com/elastic/elasticsearch/issues/127099
405402
- class: org.elasticsearch.xpack.esql.qa.multi_node.EsqlSpecIT
406403
method: test {rerank.Reranker before a limit ASYNC}
407404
issue: https://github.com/elastic/elasticsearch/issues/127051
@@ -432,9 +429,6 @@ tests:
432429
- class: org.elasticsearch.xpack.esql.qa.single_node.GenerativeIT
433430
method: test
434431
issue: https://github.com/elastic/elasticsearch/issues/127536
435-
- class: org.elasticsearch.xpack.esql.qa.mixed.MixedClusterEsqlSpecIT
436-
method: test {union_types.MultiIndexSortIpStringEval ASYNC}
437-
issue: https://github.com/elastic/elasticsearch/issues/127537
438432
- class: org.elasticsearch.xpack.inference.action.filter.ShardBulkInferenceActionFilterIT
439433
method: testRestart {p0=false p1=false}
440434
issue: https://github.com/elastic/elasticsearch/issues/127592
@@ -447,6 +441,9 @@ tests:
447441
- class: org.elasticsearch.xpack.inference.action.filter.ShardBulkInferenceActionFilterIT
448442
method: testRestart {p0=true p1=true}
449443
issue: https://github.com/elastic/elasticsearch/issues/127595
444+
- class: org.elasticsearch.cluster.routing.allocation.decider.DiskThresholdDeciderIT
445+
method: testRestoreSnapshotAllocationDoesNotExceedWatermarkWithMultipleRestores
446+
issue: https://github.com/elastic/elasticsearch/issues/127286
450447

451448
# Examples:
452449
#

0 commit comments

Comments
 (0)