Skip to content

Commit d96564d

Browse files
authored
Merge branch 'main' into feature-add-hidden-flag-enrollment-api-keys
2 parents 2a4638e + 165270a commit d96564d

File tree

117 files changed

+2623
-1065
lines changed

Some content is hidden

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

117 files changed

+2623
-1065
lines changed

distribution/tools/server-cli/src/test/java/org/elasticsearch/server/cli/APMJvmOptionsTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
import static org.mockito.Mockito.doReturn;
3939
import static org.mockito.Mockito.mock;
4040

41-
@ESTestCase.WithoutSecurityManager
4241
public class APMJvmOptionsTests extends ESTestCase {
4342

4443
private Path installDir;

distribution/tools/server-cli/src/test/java/org/elasticsearch/server/cli/JvmErgonomicsTests.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
import org.elasticsearch.common.util.concurrent.EsExecutors;
1616
import org.elasticsearch.node.NodeRoleSettings;
1717
import org.elasticsearch.test.ESTestCase;
18-
import org.elasticsearch.test.ESTestCase.WithoutSecurityManager;
1918

2019
import java.io.IOException;
2120
import java.util.ArrayList;
@@ -41,7 +40,6 @@
4140
import static org.junit.Assert.assertTrue;
4241
import static org.junit.Assert.fail;
4342

44-
@WithoutSecurityManager
4543
@SuppressFileSystems("*")
4644
public class JvmErgonomicsTests extends ESTestCase {
4745

distribution/tools/server-cli/src/test/java/org/elasticsearch/server/cli/JvmOptionsParserTests.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
import org.elasticsearch.core.IOUtils;
1616
import org.elasticsearch.core.Strings;
1717
import org.elasticsearch.test.ESTestCase;
18-
import org.elasticsearch.test.ESTestCase.WithoutSecurityManager;
1918
import org.junit.AfterClass;
2019
import org.junit.BeforeClass;
2120

@@ -43,7 +42,6 @@
4342
import static org.hamcrest.Matchers.hasSize;
4443
import static org.hamcrest.Matchers.not;
4544

46-
@WithoutSecurityManager
4745
@LuceneTestCase.SuppressFileSystems("*")
4846
public class JvmOptionsParserTests extends ESTestCase {
4947

distribution/tools/server-cli/src/test/java/org/elasticsearch/server/cli/MachineDependentHeapTests.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
import org.elasticsearch.common.settings.Settings;
1313
import org.elasticsearch.test.ESTestCase;
14-
import org.elasticsearch.test.ESTestCase.WithoutSecurityManager;
1514
import org.hamcrest.Matcher;
1615

1716
import java.util.Collections;
@@ -21,7 +20,6 @@
2120
import static org.hamcrest.Matchers.empty;
2221

2322
// TODO: rework these tests to mock jvm option finder so they can run with security manager, no forking needed
24-
@WithoutSecurityManager
2523
public class MachineDependentHeapTests extends ESTestCase {
2624

2725
public void testDefaultHeapSize() throws Exception {

docs/changelog/126314.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 126314
2+
summary: Add refresh to synonyms put / delete APIs to wait for synonyms to be accessible and reload analyzers
3+
area: Analysis
4+
type: bug
5+
issues:
6+
- 121441

docs/changelog/126653.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 126653
2+
summary: Retry shard movements during ESQL query
3+
area: ES|QL
4+
type: enhancement
5+
issues: []

docs/changelog/126935.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 126935
2+
summary: Synonyms API - Add refresh parameter to check synonyms index and reload analyzers
3+
area: Analysis
4+
type: enhancement
5+
issues:
6+
- 121441

docs/reference/aggregations/search-aggregations-metrics-max-aggregation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ mapped_pages:
1010
A `single-value` metrics aggregation that keeps track and returns the maximum value among the numeric values extracted from the aggregated documents.
1111

1212
::::{note}
13-
The `min` and `max` aggregation operate on the `double` representation of the data. As a consequence, the result may be approximate when running on longs whose absolute value is greater than `2^53`.
13+
The `min` and `max` aggregation operate on the `double` representation of the data. As a consequence, the result may be approximate when running on longs whose absolute value is greater than `2`^`53`^.
1414
::::
1515

1616

docs/reference/aggregations/search-aggregations-metrics-min-aggregation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ mapped_pages:
1010
A `single-value` metrics aggregation that keeps track and returns the minimum value among numeric values extracted from the aggregated documents.
1111

1212
::::{note}
13-
The `min` and `max` aggregation operate on the `double` representation of the data. As a consequence, the result may be approximate when running on longs whose absolute value is greater than `2^53`.
13+
The `min` and `max` aggregation operate on the `double` representation of the data. As a consequence, the result may be approximate when running on longs whose absolute value is greater than `2`^`53`^.
1414
::::
1515

1616

docs/reference/elasticsearch/mapping-reference/number.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ mapped_pages:
1010
The following numeric types are supported:
1111

1212
`long`
13-
: A signed 64-bit integer with a minimum value of `-263` and a maximum value of `263-1`.
13+
: A signed 64-bit integer with a minimum value of `-2`^`63`^ and a maximum value of `2`^`63`^`-1`.
1414

1515
`integer`
16-
: A signed 32-bit integer with a minimum value of `-231` and a maximum value of `231-1`.
16+
: A signed 32-bit integer with a minimum value of `-2`^`31`^ and a maximum value of `2`^`31`^`-1`.
1717

1818
`short`
1919
: A signed 16-bit integer with a minimum value of `-32,768` and a maximum value of `32,767`.
@@ -34,7 +34,7 @@ The following numeric types are supported:
3434
: A floating point number that is backed by a `long`, scaled by a fixed `double` scaling factor.
3535

3636
`unsigned_long`
37-
: An unsigned 64-bit integer with a minimum value of 0 and a maximum value of `264-1`.
37+
: An unsigned 64-bit integer with a minimum value of 0 and a maximum value of `2`^`64`^`-1`.
3838

3939
Below is an example of configuring a mapping with numeric fields:
4040

@@ -75,9 +75,9 @@ $$$floating_point$$$
7575

7676
| Type | Minimum value | Maximum value | Significant<br> bits / digits | Example precision loss |
7777
| --- | --- | --- | --- | --- |
78-
| `double` | `2-1074` | `(2-2-52)·21023` | `53` / `15.95` | `1.2345678912345678`→<br> `1.234567891234568` |
79-
| `float` | `2-149` | `(2-2-23)·2127` | `24` / `7.22` | `1.23456789`→<br> `1.2345679` |
80-
| `half_float` | `2-24` | `65504` | `11` / `3.31` | `1.2345`→<br> `1.234375` |
78+
| `double` | `2`^`-1074`^ | `(2-2`^`-52`^`)·2`^`1023`^ | `53` / `15.95` | `1.2345678912345678`→<br> `1.234567891234568` |
79+
| `float` | `2`^`-149`^ | `(2-2`^`-23`^`)·2`^`127`^ | `24` / `7.22` | `1.23456789`→<br> `1.2345679` |
80+
| `half_float` | `2`^`-24`^ | `65504` | `11` / `3.31` | `1.2345`→<br> `1.234375` |
8181

8282
::::{admonition} Mapping numeric identifiers
8383
:class: tip

0 commit comments

Comments
 (0)