Skip to content

Commit a4dc5c5

Browse files
authored
Merge branch 'main' into test-assertions
2 parents 2008ce3 + 4d2cb53 commit a4dc5c5

File tree

88 files changed

+2906
-930
lines changed

Some content is hidden

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

88 files changed

+2906
-930
lines changed

.editorconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,9 @@ indent_size = 4
209209
max_line_length = 140
210210
ij_java_class_count_to_use_import_on_demand = 999
211211
ij_java_names_count_to_use_import_on_demand = 999
212-
ij_java_imports_layout = *,|,com.**,|,org.**,|,java.**,|,javax.**,|,$*
212+
# The first '@*,' is a workaround for https://youtrack.jetbrains.com/issue/IDEA-368382/Auto-import-puts-java-imports-first-even-when-Editor-Code-style-Java-Import-layout-puts-them-last
213+
# it should be removed once that is fixed
214+
ij_java_imports_layout = @*,*,|,com.**,|,org.**,|,java.**,|,javax.**,|,$*
213215

214216
[*.json]
215217
indent_size = 2

build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/JarApiComparisonTask.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,11 @@ private String getPath() {
111111
List<String> classNames() throws IOException {
112112
Pattern classEnding = Pattern.compile(".*\\.class$");
113113
try (JarFile jf = new JarFile(this.path)) {
114-
return jf.stream().map(ZipEntry::getName).filter(classEnding.asMatchPredicate()).collect(Collectors.toList());
114+
return jf.stream()
115+
.map(ZipEntry::getName)
116+
.filter(classEnding.asMatchPredicate())
117+
.filter(c -> c.startsWith("org/elasticsearch/logging/internal/") == false)
118+
.collect(Collectors.toList());
115119
}
116120
}
117121

build-tools-internal/version.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ opensaml = 4.3.0
2929

3030
# client dependencies
3131
httpclient = 4.5.14
32-
httpcore = 4.4.13
32+
httpcore = 4.4.16
3333
httpasyncclient = 4.1.5
3434
commonslogging = 1.2
3535
commonscodec = 1.15

docs/changelog/121548.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 121548
2+
summary: Adding support for specifying embedding type to Jina AI service settings
3+
area: Machine Learning
4+
type: enhancement
5+
issues: []

docs/changelog/122762.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 122762
2+
summary: "ESQL: Remove estimated row size assertion"
3+
area: ES|QL
4+
type: bug
5+
issues:
6+
- 121535

docs/changelog/123630.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 123630
2+
summary: Limit number of suppressed S3 deletion errors
3+
area: Snapshot/Restore
4+
type: bug
5+
issues:
6+
- 123354

docs/images/token-graph-dns-synonym-ex2.svg

Lines changed: 2 additions & 0 deletions
Loading

docs/images/token-graph-dns-synonym-flattened-ex2.svg

Lines changed: 2 additions & 0 deletions
Loading

docs/reference/data-analysis/text-analysis/analysis-flatten-graph-tokenfilter.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The `flatten_graph` filter uses Lucene’s [FlattenGraphFilter](https://lucene.a
2525

2626
To see how the `flatten_graph` filter works, you first need to produce a token graph containing multi-position tokens.
2727

28-
The following [analyze API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-analyze) request uses the `synonym_graph` filter to add `dns` as a multi-position synonym for `domain name system` in the text `domain name system is fragile`:
28+
The following [analyze API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-analyze) request uses the `synonym_graph` filter to add `internet phonebook` as a multi-position synonym for `domain name system` in the text `domain name system is fragile`:
2929

3030
```console
3131
GET /_analyze
@@ -34,17 +34,17 @@ GET /_analyze
3434
"filter": [
3535
{
3636
"type": "synonym_graph",
37-
"synonyms": [ "dns, domain name system" ]
37+
"synonyms": [ "internet phonebook, domain name system" ]
3838
}
3939
],
4040
"text": "domain name system is fragile"
4141
}
4242
```
4343

44-
The filter produces the following token graph with `dns` as a multi-position token.
44+
The filter produces the following token graph with `internet phonebook` as a multi-position token.
4545

46-
:::{image} ../../../images/token-graph-dns-synonym-ex.svg
47-
:alt: token graph dns synonym ex
46+
:::{image} ../../../images/token-graph-dns-synonym-ex2.svg
47+
:alt: token graph dns synonym example
4848
:::
4949

5050
Indexing does not support token graphs containing multi-position tokens. To make this token graph suitable for indexing, it needs to be flattened.
@@ -58,7 +58,7 @@ GET /_analyze
5858
"filter": [
5959
{
6060
"type": "synonym_graph",
61-
"synonyms": [ "dns, domain name system" ]
61+
"synonyms": [ "internet phonebook, domain name system" ]
6262
},
6363
"flatten_graph"
6464
],
@@ -68,8 +68,8 @@ GET /_analyze
6868

6969
The filter produces the following flattened token graph, which is suitable for indexing.
7070

71-
:::{image} ../../../images/token-graph-dns-invalid-ex.svg
72-
:alt: token graph dns invalid ex
71+
:::{image} ../../../images/token-graph-dns-synonym-flattened-ex2.svg
72+
:alt: token graph dns flattened example
7373
:::
7474

7575

gradle/build.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ docker-compose = "com.avast.gradle:gradle-docker-compose-plugin:0.17.5"
1919
forbiddenApis = "de.thetaphi:forbiddenapis:3.8"
2020
gradle-enterprise = "com.gradle:develocity-gradle-plugin:3.18.1"
2121
hamcrest = "org.hamcrest:hamcrest:2.1"
22-
httpcore = "org.apache.httpcomponents:httpcore:4.4.12"
22+
httpcore = "org.apache.httpcomponents:httpcore:4.4.16"
2323
httpclient = "org.apache.httpcomponents:httpclient:4.5.14"
2424
idea-ext = "gradle.plugin.org.jetbrains.gradle.plugin.idea-ext:gradle-idea-ext:1.1.4"
2525
javaparser = "com.github.javaparser:javaparser-core:3.18.0"

0 commit comments

Comments
 (0)