Skip to content

Commit 9c827c7

Browse files
committed
Merge remote-tracking branch 'origin/feature/fix-failing-apt-get' into feature/fix-failing-apt-get
2 parents afe253b + 60dc03c commit 9c827c7

File tree

131 files changed

+2721
-1499
lines changed

Some content is hidden

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

131 files changed

+2721
-1499
lines changed

CONTRIBUTING.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -168,16 +168,13 @@ You can import the Elasticsearch project into IntelliJ IDEA via:
168168

169169
#### Checkstyle
170170

171-
If you have the [Checkstyle] plugin installed, you can configure IntelliJ to
172-
check the Elasticsearch code. However, the Checkstyle configuration file does
173-
not work by default with the IntelliJ plugin, so instead an IDE-specific config
174-
file is generated automatically after IntelliJ finishes syncing. You can
175-
manually generate the file with `./gradlew configureIdeCheckstyle` in case
176-
it is removed due to a `./gradlew clean` or other action.
177-
178-
IntelliJ should be automatically configured to use the generated rules after
179-
import via the `.idea/checkstyle-idea.xml` configuration file. No further
180-
action is required.
171+
IntelliJ should automatically configure checkstyle. It does so by running
172+
`configureIdeCheckstyle` on import. That makes `.idea/checkstyle-idea.xml`
173+
configuration file. IntelliJ points checkstyle at that.
174+
175+
Things like `./gradlew clean` or `git clean -xdf` can nuke the file. You can
176+
regenerate it by running `./gradlew -Didea.active=true configureIdeCheckstyle`,
177+
but generally shouldn't have to.
181178

182179
#### Formatting
183180

build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/PublishPluginFuncTest.groovy

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,16 @@
99

1010
package org.elasticsearch.gradle.internal
1111

12+
import spock.lang.IgnoreIf
13+
1214
import org.elasticsearch.gradle.fixtures.AbstractGradleFuncTest
1315
import org.gradle.testkit.runner.TaskOutcome
1416
import org.xmlunit.builder.DiffBuilder
1517
import org.xmlunit.builder.Input
1618

19+
// Ignoring this test on windows due to what appears to be a bug in the gradle testkit runner.
20+
// https://github.com/elastic/elasticsearch/issues/129100
21+
@IgnoreIf({ os.isWindows() })
1722
class PublishPluginFuncTest extends AbstractGradleFuncTest {
1823

1924
def setup() {
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3+
* or more contributor license agreements. Licensed under the "Elastic License
4+
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
5+
* Public License v 1"; you may not use this file except in compliance with, at
6+
* your election, the "Elastic License 2.0", the "GNU Affero General Public
7+
* License v3.0 only", or the "Server Side Public License, v 1".
8+
*/
9+
10+
import org.elasticsearch.gradle.Version
11+
import org.elasticsearch.gradle.testclusters.StandaloneRestIntegTestTask
12+
13+
tasks.register("bcUpgradeTest", StandaloneRestIntegTestTask) {
14+
// We use a phony version here as the real version is provided via `tests.bwc.main.version` system property
15+
usesBwcDistribution(Version.fromString("0.0.0"))
16+
systemProperty("tests.old_cluster_version", "0.0.0")
17+
onlyIf("tests.bwc.main.version system property exists") { System.getProperty("tests.bwc.main.version") != null }
18+
}

distribution/docker/src/docker/dockerfiles/cloud_ess_fips/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,10 @@ RUN cat <<EOF > /usr/share/elasticsearch/config/jvm.options.d/fips.options
172172
-Dorg.bouncycastle.fips.approved_only=true
173173
-Djava.security.properties=config/fips_java.security
174174
-Djava.security.policy=config/fips_java.policy
175+
-Djavax.net.ssl.trustStoreType=BCFKS
175176
-Djavax.net.ssl.trustStore=config/cacerts.bcfks
176177
-Djavax.net.ssl.trustStorePassword=passwordcacert
178+
177179
EOF
178180

179181
EXPOSE 9200 9300

docs/changelog/129223.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 129223
2+
summary: Fix text similarity reranker does not propagate min score correctly
3+
area: Search
4+
type: bug
5+
issues: []

docs/changelog/129295.yaml

Lines changed: 0 additions & 8 deletions
This file was deleted.

docs/changelog/129359.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 129359
2+
summary: Add min score linear retriever
3+
area: Search
4+
type: enhancement
5+
issues: []

docs/changelog/129367.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 129367
2+
summary: Run `TransportGetStatusAction` on local node
3+
area: ILM+SLM
4+
type: enhancement
5+
issues: []

docs/changelog/129391.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
pr: 129391
2+
summary: Ensure that anomaly detection job state update retries if master node is
3+
temoporarily unavailable
4+
area: Machine Learning
5+
type: bug
6+
issues:
7+
- 126148

docs/reference/query-languages/query-dsl/query-dsl-combined-fields-query.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,10 @@ See [Use synonyms with match query](/reference/query-languages/query-dsl/query-d
7676

7777
`operator`
7878
: (Optional, string) Boolean logic used to interpret text in the `query` value. Valid values are:
79-
80-
`or` (Default)
81-
: For example, a `query` value of `database systems` is interpreted as `database OR systems`.
82-
83-
`and`
84-
: For example, a `query` value of `database systems` is interpreted as `database AND systems`.
79+
- `or` (Default)
80+
For example, a `query` value of `database systems` is interpreted as `database OR systems`.
81+
- `and`
82+
For example, a `query` value of `database systems` is interpreted as `database AND systems`.
8583

8684

8785
`minimum_should_match`
@@ -90,12 +88,10 @@ See [Use synonyms with match query](/reference/query-languages/query-dsl/query-d
9088

9189
`zero_terms_query`
9290
: (Optional, string) Indicates whether no documents are returned if the `analyzer` removes all tokens, such as when using a `stop` filter. Valid values are:
93-
94-
`none` (Default)
95-
: No documents are returned if the `analyzer` removes all tokens.
96-
97-
`all`
98-
: Returns all documents, similar to a [`match_all`](/reference/query-languages/query-dsl/query-dsl-match-all-query.md) query.
91+
- `none` (Default)
92+
No documents are returned if the `analyzer` removes all tokens.
93+
- `all`
94+
Returns all documents, similar to a [`match_all`](/reference/query-languages/query-dsl/query-dsl-match-all-query.md) query.
9995

10096
See [Zero terms query](/reference/query-languages/query-dsl/query-dsl-match-query.md#query-dsl-match-query-zero) for an example.
10197

0 commit comments

Comments
 (0)