Skip to content

Commit 7012336

Browse files
authored
Merge branch 'main' into http-aggregator-removal
2 parents 6d3914c + b48f699 commit 7012336

File tree

78 files changed

+2344
-1056
lines changed

Some content is hidden

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

78 files changed

+2344
-1056
lines changed

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/127621.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 127621
2+
summary: Fix error message when changing the password for a user in the file realm
3+
area: Security
4+
type: bug
5+
issues: []

docs/changelog/129161.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 129161
2+
summary: Add Telemetry for models without adaptive allocations
3+
area: Machine Learning
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

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

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Returns documents that match a provided text, number, date or boolean value. The
1111

1212
The `match` query is the standard query for performing a full-text search, including options for fuzzy matching.
1313

14-
`Match` will also work against [semantic_text](/reference/elasticsearch/mapping-reference/semantic-text.md) fields.
14+
`Match` will also work against [semantic_text](/reference/elasticsearch/mapping-reference/semantic-text.md) fields.
1515
As `semantic_text` does not support lexical text search, `match` queries against `semantic_text` fields will automatically perform the correct semantic search.
1616
Because of this, options that specifically target lexical search such as `fuzziness` or `analyzer` will be ignored.
1717

@@ -83,26 +83,20 @@ If the `fuzziness` parameter is not `0`, the `match` query uses a `fuzzy_rewrite
8383

8484
`operator`
8585
: (Optional, string) Boolean logic used to interpret text in the `query` value. Valid values are:
86-
87-
`OR` (Default)
88-
: For example, a `query` value of `capital of Hungary` is interpreted as `capital OR of OR Hungary`.
89-
90-
`AND`
91-
: For example, a `query` value of `capital of Hungary` is interpreted as `capital AND of AND Hungary`.
92-
86+
- `OR` (Default)
87+
For example, a `query` value of `capital of Hungary` is interpreted as `capital OR of OR Hungary`.
88+
- `AND`
89+
For example, a `query` value of `capital of Hungary` is interpreted as `capital AND of AND Hungary`.
9390

9491
`minimum_should_match`
9592
: (Optional, string) Minimum number of clauses that must match for a document to be returned. See the [`minimum_should_match` parameter](/reference/query-languages/query-dsl/query-dsl-minimum-should-match.md) for valid values and more information.
9693

97-
9894
`zero_terms_query`
9995
: (Optional, string) Indicates whether no documents are returned if the `analyzer` removes all tokens, such as when using a `stop` filter. Valid values are:
100-
101-
`none` (Default)
102-
: No documents are returned if the `analyzer` removes all tokens.
103-
104-
`all`
105-
: Returns all documents, similar to a [`match_all`](/reference/query-languages/query-dsl/query-dsl-match-all-query.md) query.
96+
- `none` (Default)
97+
No documents are returned if the `analyzer` removes all tokens.
98+
- `all`
99+
Returns all documents, similar to a [`match_all`](/reference/query-languages/query-dsl/query-dsl-match-all-query.md) query.
106100

107101
See [Zero terms query](#query-dsl-match-query-zero) for an example.
108102

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

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,16 +85,12 @@ are only [normalized](/reference/text-analysis/normalizers.md).
8585

8686
Boost values are relative to the default value of `1.0`. A boost value between `0` and `1.0` decreases the relevance score. A value greater than `1.0` increases the relevance score.
8787

88-
8988
`default_operator`
9089
: (Optional, string) Default boolean logic used to interpret text in the query string if no operators are specified. Valid values are:
91-
92-
`OR` (Default)
93-
: For example, a query string of `capital of Hungary` is interpreted as `capital OR of OR Hungary`.
94-
95-
`AND`
96-
: For example, a query string of `capital of Hungary` is interpreted as `capital AND of AND Hungary`.
97-
90+
- `OR` (Default)
91+
For example, a query string of `capital of Hungary` is interpreted as `capital OR of OR Hungary`.
92+
- `AND`
93+
For example, a query string of `capital of Hungary` is interpreted as `capital AND of AND Hungary`.
9894

9995
`enable_position_increments`
10096
: (Optional, Boolean) If `true`, enable position increments in queries constructed from a `query_string` search. Defaults to `true`.

docs/reference/query-languages/query-dsl/query-dsl-simple-query-string-query.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,10 @@ There is a limit on the number of fields that can be queried at once. It is defi
4949

5050
`default_operator`
5151
: (Optional, string) Default boolean logic used to interpret text in the query string if no operators are specified. Valid values are:
52-
53-
`OR` (Default)
54-
: For example, a query string of `capital of Hungary` is interpreted as `capital OR of OR Hungary`.
55-
56-
`AND`
57-
: For example, a query string of `capital of Hungary` is interpreted as `capital AND of AND Hungary`.
52+
- `OR` (Default)
53+
For example, a query string of `capital of Hungary` is interpreted as `capital OR of OR Hungary`.
54+
- `AND`
55+
For example, a query string of `capital of Hungary` is interpreted as `capital AND of AND Hungary`.
5856

5957

6058
`analyze_wildcard`

0 commit comments

Comments
 (0)