Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: elastic/elasticsearch
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v8.8.1
Choose a base ref
...
head repository: elastic/elasticsearch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v8.8.2
Choose a head ref

Commits on Jun 6, 2023

  1. SQL: Fix translation of queries involving Version vals (#96540) (#96591)

    This will change the value used in queries involving Version types,
    updating it from the Version value to the expected string
    representation.
    
    (cherry picked from commit a3c2966)
    bpintea authored Jun 6, 2023
    Copy the full SHA
    c0bba02 View commit details
  2. update docs for vector tile and geohex (#96595) (#96600)

    Geohex aggregation is now supported since Elasticsearch 8.7 for geo_shape fields so update docs accordingly.
    iverase authored Jun 6, 2023
    Copy the full SHA
    bd6deec View commit details
  3. Copy the full SHA
    9a8f301 View commit details

Commits on Jun 7, 2023

  1. [DOCS] Adds a compound query example to the ELSER semantic search tut…

    …orial (#96460) (#96643)
    
    Co-authored-by: David Kyle <david.kyle@elastic.co>
    szabosteve and davidkyle authored Jun 7, 2023
    Copy the full SHA
    9f93f70 View commit details
  2. Copy the full SHA
    f4eac58 View commit details
  3. [8.8] Disable DLM serialisation and tests (#96623)

    Disable DLM serialisation and tests.
    andreidan authored Jun 7, 2023
    Copy the full SHA
    75baf0c View commit details
  4. Copy the full SHA
    2fc7075 View commit details
  5. Copy the full SHA
    dc0493a View commit details
  6. Locate javap from current build Java home location (#96667) (#96669)

    This updates the JarApiComparisonTask to be a bit more robust so it no
    longer requires the `javap` command to be on the path and instead
    locates it from the current build JDK. This ensures, firstly, that we're
    using the `javap` executable that corresponds to the current compiler
    Java we're using and secondly, that the task will work even if
    `JAVA_HOME/bin` isn't added to `PATH`.
    mark-vieira authored Jun 7, 2023
    Copy the full SHA
    75cdd6f View commit details
  7. Copy the full SHA
    a10d41e View commit details

Commits on Jun 8, 2023

  1. Add method for registering a SettingsProvider for keystore settings (#…

    …96679) (#96682)
    
    Add a method to `LocalClusterBuilder` for providing a `SettingsProvider`
    for secure keystore settings in test clusters.
    mark-vieira authored Jun 8, 2023
    Copy the full SHA
    63a493c View commit details
  2. Fix iteration of empty percentiles throwing Null Pointer Exception (#…

    …96668) (#96691)
    
    When creating an empty aggregation we set the state to null. Later on this is
    used by the iterator and leads to null pointer exceptions. Here we just use an
    empty iterator in case there is no perceniles.
    salvatore-campagna authored Jun 8, 2023
    Copy the full SHA
    0e0ddd4 View commit details
  3. Remove the "coming" note (#96701)

    Remove the "coming" note from release notes.
    bpintea authored Jun 8, 2023
    Copy the full SHA
    33647f9 View commit details
  4. Copy the full SHA
    db4bd96 View commit details
  5. Copy the full SHA
    935039e View commit details
  6. Copy the full SHA
    38b7ca8 View commit details

Commits on Jun 9, 2023

  1. Debug ccr connection failure in docs build (#96699) (#96718)

    Set DEBUG log level to be able to troubleshoot failures to connect to local CCR cluster.
    idegtiarenko authored Jun 9, 2023
    Copy the full SHA
    19682fc View commit details
  2. [DOCS] Remove leftover experimental tag for knn search (#96722)

    Knn search was made GA in Elasticsearch 8.5, see #91065 .
    This commit removes a leftover experimental marking from the search
    docs.
    javanna authored Jun 9, 2023
    Copy the full SHA
    f19a9e2 View commit details
  3. Copy the full SHA
    40a3951 View commit details
  4. The get data stream api incorrectly prints warning log for upgraded t…

    …sdb data streams (#96671)
    
    Backport of #96606 to the 8.8 branch.
    
    Invoking the get data stream api on an upgrade tsdb data stream (which has normal and tsbd indices) can result in a warning log incorrectly be logged. This warning is logged as part of computing the temporal ranges of a tsdb data stream. This warning log indicates that tsdb backing indices are overlapping, but this isn't true. For normal indices, this api picked -9999-01-01T00:00:00Z as start time and 9999-12-31T23:59:59.999Z as end time. This will overlap with any tsdb backing index. Instead, the normal indices should be skipped for computing the temporal ranges.
    
    The following can incorrectlu be logged for upgraded tsdb data streams: [instance-0000000074] previous backing index [-9999-01-01T00:00:00Z/9999-12-31T23:59:59.999Z] range is colliding with current backing index range [-9999-01-01T00:00:00Z/9999-12-31T23:59:59.999Z] This change addresses this. Note that in tests an assertion would trip before the log gets printed.
    martijnvg authored Jun 9, 2023
    Copy the full SHA
    d01b24c View commit details

Commits on Jun 12, 2023

  1. Copy the full SHA
    39c64cf View commit details
  2. Copy the full SHA
    f231658 View commit details
  3. Copy the full SHA
    8c90394 View commit details

Commits on Jun 13, 2023

  1. Port OIDC integration tests to internal REST test (#96756) (#96808)

    Ports OIDC integration tests from the old Docker-based ES test cluster
    setup to internal REST tests. The OIDC fixture itself is still
    dockerized. I'm doing this in the context of bumping a version on a
    dependency. The old Docker-based test does not really work on M1 Macs;
    porting this suite to the new test setup (aside from being a general
    improvement) also allows me to test the version update and iterate on it
    locally.
    n1v0lg authored Jun 13, 2023
    Copy the full SHA
    f00f660 View commit details

Commits on Jun 14, 2023

  1. Copy the full SHA
    270c4a0 View commit details
  2. Copy the full SHA
    7aaf683 View commit details
  3. Group field producers once when performing shard level downsampling (#…

    …96795) (#96845)
    
    Group field producers once when creating RollupBucketBuilder,
    instead of everytime a rollup document needs to be built.
    martijnvg authored Jun 14, 2023
    Copy the full SHA
    45de453 View commit details

Commits on Jun 15, 2023

  1. [DOCS] Makes ELSER mapping requirements clearer (#96854) (#96859)

    Makes ELSER mapping requirements clearer.
    szabosteve authored Jun 15, 2023
    Copy the full SHA
    7a1b88e View commit details
  2. Copy the full SHA
    c7eeb9d View commit details
  3. Uses ClusterSettings instead of Node Settings in `HealthMetadataS…

    …ervice` (#96843) (#96870)
    
    When building the first version of `HealthMetadata` object, we were
    using the `Settings` object, which has the Node's settings, what does
    not seem to be propagated to the Node, hence we always used the default
    values of the settings. This made that every time a new master was
    selected, the initial `HealthMetadata` was built with the default values
    instead of the settings configured by the customer.
    Pablo Alcantar Morales authored Jun 15, 2023
    Copy the full SHA
    efe71fd View commit details
  4. Copy the full SHA
    e88d060 View commit details

Commits on Jun 18, 2023

  1. Copy the full SHA
    79b9fd3 View commit details

Commits on Jun 19, 2023

  1. Change downsampling thread pool settings (#96821) (#96916)

    Here we change the settings for the rollup thread pool like follows:
    
    * we use a fixed number of threads (>= 1)
    * we use a limited queue for tasks waiting execution
    One one side we parallelise rollup operations, on the other side, if too many rollup requests are
    received, rollup tasks will be rejected to avoid overloading the node.
    
    Resolves #96758
    salvatore-campagna authored Jun 19, 2023
    Copy the full SHA
    1fceab9 View commit details
  2. Update OIDC and JWT dependencies (#96862) (#96915)

    Updates internal dependencies for OIDC and JWT realms.
    
    Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
    n1v0lg and elasticmachine authored Jun 19, 2023
    Copy the full SHA
    a6d8f05 View commit details

Commits on Jun 20, 2023

  1. Increase concurrent request of opening point-in-time (#96782) (#96957)

    Today, we mistakenly throttle the opening point-in-time API to 1 request
    per node. As a result, when attempting to open a point-in-time across
    large clusters, it can take a significant amount of time and eventually
    fails due to relocated target shards or deleted target indices managed
    by ILM. Ideally, we should batch the requests per node and eliminate
    this throttle completely. However, this requires all clusters to be on
    the latest version.
    
    This PR increases the number of concurrent requests from 1 to 5, which
    is the default of search.
    dnhatn authored Jun 20, 2023
    Copy the full SHA
    293dc09 View commit details

Commits on Jun 22, 2023

  1. Update Gradle Enteprise plugin to 3.13.1 (#95896) (#96998)

    Upgrade Gradle Enterprise plugin to latest available.
    # Conflicts:
    #	settings.gradle
    mark-vieira authored Jun 22, 2023
    Copy the full SHA
    96cd571 View commit details
  2. [Transform] Adding null check to fix potential NPE (#96785) (#97002)

    Co-authored-by: AjeetNathawat <72258466+AjeetNathawat@users.noreply.github.com>
    Hendrik Muhs and AjeetNathawat authored Jun 22, 2023
    Copy the full SHA
    98e1271 View commit details
Showing with 1,350 additions and 854 deletions.
  1. +1 −1 .backportrc.json
  2. +1 −0 .ci/bwcVersions
  3. +1 −1 .ci/snapshotBwcVersions
  4. +2 −1 build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/JarApiComparisonTask.java
  5. +1 −1 build-tools-internal/version.properties
  6. +7 −0 docs/build.gradle
  7. +0 −7 docs/changelog/96035.yaml
  8. +5 −0 docs/changelog/96243.yaml
  9. +0 −6 docs/changelog/96265.yaml
  10. +0 −6 docs/changelog/96286.yaml
  11. +0 −6 docs/changelog/96293.yaml
  12. +0 −5 docs/changelog/96317.yaml
  13. +0 −5 docs/changelog/96432.yaml
  14. +0 −5 docs/changelog/96461.yaml
  15. +0 −6 docs/changelog/96494.yaml
  16. +6 −0 docs/changelog/96540.yaml
  17. +6 −0 docs/changelog/96606.yaml
  18. +6 −0 docs/changelog/96668.yaml
  19. +5 −0 docs/changelog/96738.yaml
  20. +5 −0 docs/changelog/96782.yaml
  21. +6 −0 docs/changelog/96785.yaml
  22. +6 −0 docs/changelog/96821.yaml
  23. +6 −0 docs/changelog/96843.yaml
  24. +2 −2 docs/reference/aggregations/bucket/rare-terms-aggregation.asciidoc
  25. +72 −0 docs/reference/aggregations/metrics/top-metrics-aggregation.asciidoc
  26. +1 −1 docs/reference/analysis/normalizers.asciidoc
  27. +2 −0 docs/reference/behavioral-analytics/apis/delete-analytics-collection.asciidoc
  28. +2 −0 docs/reference/behavioral-analytics/apis/index.asciidoc
  29. +2 −0 docs/reference/behavioral-analytics/apis/list-analytics-collection.asciidoc
  30. +2 −0 docs/reference/behavioral-analytics/apis/post-analytics-collection-event.asciidoc
  31. +2 −0 docs/reference/behavioral-analytics/apis/put-analytics-collection.asciidoc
  32. +2 −0 docs/reference/release-notes.asciidoc
  33. +1 −0 docs/reference/release-notes/8.8.0.asciidoc
  34. +34 −0 docs/reference/release-notes/8.8.1.asciidoc
  35. +8 −7 docs/reference/release-notes/highlights.asciidoc
  36. +1 −4 docs/reference/search/search-vector-tile-api.asciidoc
  37. +83 −7 docs/reference/search/search-your-data/semantic-search-elser.asciidoc
  38. +0 −1 docs/reference/search/search.asciidoc
  39. +6 −5 docs/reference/transform/apis/schedule-now-transform.asciidoc
  40. +11 −6 gradle/verification-metadata.xml
  41. +1 −3 modules/data-streams/src/internalClusterTest/java/org/elasticsearch/datastreams/DataStreamIT.java
  42. +12 −4 ...ata-streams/src/main/java/org/elasticsearch/datastreams/action/GetDataStreamsTransportAction.java
  43. +44 −0 ...treams/src/test/java/org/elasticsearch/datastreams/action/GetDataStreamsTransportActionTests.java
  44. +0 −38 ...reams/src/yamlRestTest/resources/rest-api-spec/test/data_stream/190_managed_by_data_lifecycle.yml
  45. +0 −28 modules/dlm/build.gradle
  46. +39 −6 modules/ingest-common/src/main/java/org/elasticsearch/ingest/common/RerouteProcessor.java
  47. +31 −3 modules/ingest-common/src/test/java/org/elasticsearch/ingest/common/RerouteProcessorTests.java
  48. +1 −1 plugins/examples/settings.gradle
  49. +0 −1 qa/mixed-cluster/build.gradle
  50. +0 −56 rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/cluster.component_template/10_basic.yml
  51. +0 −83 rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/indices.get_index_template/10_basic.yml
  52. +0 −26 ...i-spec/src/yamlRestTest/resources/rest-api-spec/test/indices.simulate_index_template/10_basic.yml
  53. +0 −25 rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/indices.simulate_template/10_basic.yml
  54. +58 −0 server/src/internalClusterTest/java/org/elasticsearch/action/search/PointInTimeIT.java
  55. +69 −21 server/src/internalClusterTest/java/org/elasticsearch/health/HealthMetadataServiceIT.java
  56. +2 −1 server/src/main/java/org/elasticsearch/TransportVersion.java
  57. +2 −1 server/src/main/java/org/elasticsearch/Version.java
  58. +2 −18 ...src/main/java/org/elasticsearch/action/admin/indices/template/get/GetComponentTemplateAction.java
  59. +2 −18 ...in/java/org/elasticsearch/action/admin/indices/template/get/GetComposableIndexTemplateAction.java
  60. +0 −8 .../main/java/org/elasticsearch/action/admin/indices/template/post/SimulateIndexTemplateRequest.java
  61. +0 −8 ...main/java/org/elasticsearch/action/admin/indices/template/post/SimulateIndexTemplateResponse.java
  62. +0 −8 ...er/src/main/java/org/elasticsearch/action/admin/indices/template/post/SimulateTemplateAction.java
  63. +2 −18 server/src/main/java/org/elasticsearch/action/datastreams/GetDataStreamAction.java
  64. +23 −1 server/src/main/java/org/elasticsearch/action/search/OpenPointInTimeRequest.java
  65. +7 −0 server/src/main/java/org/elasticsearch/action/search/RestOpenPointInTimeAction.java
  66. +2 −1 server/src/main/java/org/elasticsearch/action/search/SearchRequest.java
  67. +4 −1 server/src/main/java/org/elasticsearch/action/search/TransportOpenPointInTimeAction.java
  68. +1 −6 server/src/main/java/org/elasticsearch/cluster/metadata/DataStream.java
  69. +1 −9 server/src/main/java/org/elasticsearch/cluster/metadata/Template.java
  70. +16 −19 server/src/main/java/org/elasticsearch/health/metadata/HealthMetadataService.java
  71. +1 −1 server/src/main/java/org/elasticsearch/node/Node.java
  72. +3 −0 ...r/src/main/java/org/elasticsearch/search/aggregations/metrics/AbstractInternalHDRPercentiles.java
  73. +4 −0 ...c/main/java/org/elasticsearch/search/aggregations/metrics/AbstractInternalTDigestPercentiles.java
  74. +5 −1 server/src/main/java/org/elasticsearch/search/aggregations/metrics/InternalHDRPercentileRanks.java
  75. +5 −1 server/src/main/java/org/elasticsearch/search/aggregations/metrics/InternalHDRPercentiles.java
  76. +5 −1 ...r/src/main/java/org/elasticsearch/search/aggregations/metrics/InternalTDigestPercentileRanks.java
  77. +5 −1 server/src/main/java/org/elasticsearch/search/aggregations/metrics/InternalTDigestPercentiles.java
  78. +0 −1 .../java/org/elasticsearch/action/admin/indices/template/post/SimulateIndexTemplateRequestTests.java
  79. +0 −1 .../test/java/org/elasticsearch/action/admin/indices/template/post/SimulateTemplateRequestTests.java
  80. +58 −0 server/src/test/java/org/elasticsearch/action/search/RestOpenPointInTimeActionTests.java
  81. +3 −64 server/src/test/java/org/elasticsearch/cluster/metadata/ComponentTemplateTests.java
  82. +28 −3 server/src/test/java/org/elasticsearch/search/aggregations/metrics/AbstractPercentilesTestCase.java
  83. +5 −1 ...src/test/java/org/elasticsearch/search/aggregations/metrics/InternalHDRPercentilesRanksTests.java
  84. +15 −2 server/src/test/java/org/elasticsearch/search/aggregations/metrics/InternalHDRPercentilesTests.java
  85. +5 −1 ...test/java/org/elasticsearch/search/aggregations/metrics/InternalTDigestPercentilesRanksTests.java
  86. +7 −2 .../src/test/java/org/elasticsearch/search/aggregations/metrics/InternalTDigestPercentilesTests.java
  87. +1 −1 settings.gradle
  88. +30 −14 test/framework/src/main/java/org/elasticsearch/cluster/metadata/DataStreamTestHelper.java
  89. +6 −0 test/test-clusters/src/main/java/org/elasticsearch/test/cluster/local/AbstractLocalSpecBuilder.java
  90. +5 −0 test/test-clusters/src/main/java/org/elasticsearch/test/cluster/local/LocalSpecBuilder.java
  91. +2 −0 ...lm/src/internalClusterTest/java/org/elasticsearch/xpack/ilm/DataAndIndexLifecycleMixingTests.java
  92. +8 −1 ...ck/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/inference/deployment/DeploymentManager.java
  93. +5 −0 .../main/java/org/elasticsearch/xpack/ml/inference/pytorch/PriorityProcessWorkerExecutorService.java
  94. +13 −23 ...ml/src/main/java/org/elasticsearch/xpack/ml/inference/pytorch/process/PyTorchResultProcessor.java
  95. +31 −19 ...ml/src/main/java/org/elasticsearch/xpack/ml/job/process/AbstractProcessWorkerExecutorService.java
  96. +11 −2 x-pack/plugin/ql/src/main/java/org/elasticsearch/xpack/ql/planner/ExpressionTranslators.java
  97. +19 −19 x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/downsample/RollupShardIndexer.java
  98. +2 −3 ...gin/rollup/src/main/java/org/elasticsearch/xpack/downsample/TransportDownsampleIndexerAction.java
  99. +14 −2 x-pack/plugin/rollup/src/main/java/org/elasticsearch/xpack/rollup/Rollup.java
  100. +81 −0 ...ugin/rollup/src/test/java/org/elasticsearch/xpack/downsample/DownsampleActionSingleNodeTests.java
  101. +4 −3 x-pack/plugin/security/build.gradle
  102. +17 −0 ...gin/security/src/test/java/org/elasticsearch/xpack/security/authc/oidc/OpenIdConnectTestCase.java
  103. +32 −0 x-pack/plugin/sql/qa/server/src/main/resources/version.csv-spec
  104. +6 −1 ...c/main/java/org/elasticsearch/xpack/transform/transforms/common/AbstractCompositeAggFunction.java
  105. +94 −0 ...plugin/transform/src/test/java/org/elasticsearch/xpack/transform/transforms/pivot/PivotTests.java
  106. +0 −2 x-pack/qa/mixed-tier-cluster/build.gradle
  107. +10 −9 x-pack/qa/oidc-op-tests/build.gradle
  108. +128 −8 ...dc-op-tests/src/javaRestTest/java/org/elasticsearch/xpack/security/authc/oidc/C2IdOpTestCase.java
  109. +2 −2 ...-tests/src/javaRestTest/java/org/elasticsearch/xpack/security/authc/oidc/OpenIdConnectAuthIT.java
  110. +1 −0 x-pack/qa/oidc-op-tests/src/javaRestTest/resources/op-jwks.json
  111. BIN x-pack/qa/oidc-op-tests/src/javaRestTest/resources/ssl/testnode.jks
  112. +13 −0 x-pack/qa/oidc-op-tests/src/javaRestTest/resources/ssl/testnode_ec.crt
  113. +18 −24 x-pack/test/idp-fixture/build.gradle
  114. +1 −122 x-pack/test/idp-fixture/docker-compose.yml
  115. +0 −20 x-pack/test/idp-fixture/docker-test-entrypoint.sh
  116. +6 −2 x-pack/test/idp-fixture/oidc/Dockerfile
  117. +2 −2 x-pack/test/idp-fixture/oidc/{override.properties → override.properties.template}
  118. +25 −0 x-pack/test/idp-fixture/oidc/setup.sh
2 changes: 1 addition & 1 deletion .backportrc.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
"targetBranchChoices" : [ "main", "8.8", "8.7", "8.6", "8.5", "8.4", "8.3", "8.2", "8.1", "8.0", "7.17", "6.8" ],
"targetPRLabels" : [ "backport" ],
"branchLabelMapping" : {
"^v8.8.1$" : "main",
"^v8.8.2$" : "main",
"^v(\\d+).(\\d+).\\d+(?:-(?:alpha|beta|rc)\\d+)?$" : "$1.$2"
}
}
1 change: 1 addition & 0 deletions .ci/bwcVersions
Original file line number Diff line number Diff line change
@@ -89,3 +89,4 @@ BWC_VERSION:
- "8.7.1"
- "8.8.0"
- "8.8.1"
- "8.8.2"
2 changes: 1 addition & 1 deletion .ci/snapshotBwcVersions
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
BWC_VERSION:
- "7.17.11"
- "8.8.1"
- "8.8.2"
Original file line number Diff line number Diff line change
@@ -14,6 +14,7 @@
import org.gradle.api.tasks.CacheableTask;
import org.gradle.api.tasks.CompileClasspath;
import org.gradle.api.tasks.TaskAction;
import org.gradle.internal.jvm.Jvm;

import java.io.BufferedReader;
import java.io.File;
@@ -127,7 +128,7 @@ public List<String> disassembleFromJar(String fileInJarPath, String classpath) {
static List<String> disassemble(String location, String modulePath, String classpath) {
ProcessBuilder pb = new ProcessBuilder();
List<String> command = new ArrayList<>();
command.add("javap");
command.add(Jvm.current().getExecutable("javap").getPath());
if (modulePath != null) {
command.add("--module-path");
command.add(modulePath);
2 changes: 1 addition & 1 deletion build-tools-internal/version.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
elasticsearch = 8.8.1
elasticsearch = 8.8.2
lucene = 9.6.0

bundled_jdk_vendor = openjdk
7 changes: 7 additions & 0 deletions docs/build.gradle
Original file line number Diff line number Diff line change
@@ -65,6 +65,13 @@ testClusters.matching { it.name == "yamlRestTest"}.configureEach {
keystorePassword 'keystore-password'
}

// debug ccr test failures:
// https://github.com/elastic/elasticsearch/issues/95678
// https://github.com/elastic/elasticsearch/issues/94359
// https://github.com/elastic/elasticsearch/issues/96561
setting 'logger.org.elasticsearch.transport.SniffConnectionStrategy', 'DEBUG'
setting 'logger.org.elasticsearch.transport.RemoteClusterService', 'DEBUG'

// enable regexes in painless so our tests don't complain about example snippets that use them
setting 'script.painless.regex.enabled', 'true'
setting 'xpack.security.enabled', 'false'
7 changes: 0 additions & 7 deletions docs/changelog/96035.yaml

This file was deleted.

5 changes: 5 additions & 0 deletions docs/changelog/96243.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 96243
summary: Support dotted field notations in the reroute processor
area: Ingest Node
type: bug
issues: []
6 changes: 0 additions & 6 deletions docs/changelog/96265.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions docs/changelog/96286.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions docs/changelog/96293.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/96317.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/96432.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions docs/changelog/96461.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions docs/changelog/96494.yaml

This file was deleted.

6 changes: 6 additions & 0 deletions docs/changelog/96540.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 96540
summary: Fix translation of queries involving Version vals
area: SQL
type: bug
issues:
- 96509
6 changes: 6 additions & 0 deletions docs/changelog/96606.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 96606
summary: The get data stream api incorrectly prints warning log for upgraded tsdb
data streams
area: TSDB
type: bug
issues: []
6 changes: 6 additions & 0 deletions docs/changelog/96668.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 96668
summary: Fix iteration of empty percentiles throwing Null Pointer Exception
area: Aggregations
type: bug
issues:
- 96626
5 changes: 5 additions & 0 deletions docs/changelog/96738.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 96738
summary: Ensure NLP model inference queue is always cleared after shutdown or failure
area: Machine Learning
type: bug
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/96782.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 96782
summary: Increase concurrent request of opening point-in-time
area: Search
type: bug
issues: []
6 changes: 6 additions & 0 deletions docs/changelog/96785.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 96785
summary: Adding null check to fix potential NPE
area: Transform
type: enhancement
issues:
- 96781
6 changes: 6 additions & 0 deletions docs/changelog/96821.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 96821
summary: Change rollup thread pool settings
area: TSDB
type: enhancement
issues:
- 96758
6 changes: 6 additions & 0 deletions docs/changelog/96843.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 96843
summary: Uses `ClusterSettings` instead of Node `Settings` in `HealthMetadataService`
area: Health
type: bug
issues:
- 96219
Original file line number Diff line number Diff line change
@@ -79,7 +79,7 @@ A `rare_terms` aggregation looks like this in isolation:
|`field` |The field we wish to find rare terms in |Required |
|`max_doc_count` |The maximum number of documents a term should appear in. |Optional |`1`
|`precision` |The precision of the internal CuckooFilters. Smaller precision leads to
better approximation, but higher memory usage. Cannot be smaller than `0.00001` |Optional |`0.01`
better approximation, but higher memory usage. Cannot be smaller than `0.00001` |Optional |`0.001`
|`include` |Terms that should be included in the aggregation|Optional |
|`exclude` |Terms that should be excluded from the aggregation|Optional |
|`missing` |The value that should be used if a document does not have the field being aggregated|Optional |
@@ -352,4 +352,4 @@ that require `depth_first`. In particular, scoring sub-aggregations that are ins
in `depth_first` mode. This will throw an exception since RareTerms is unable to process `depth_first`.

As a concrete example, if `rare_terms` aggregation is the child of a `nested` aggregation, and one of the child aggregations of `rare_terms`
needs document scores (like a `top_hits` aggregation), this will throw an exception.
needs document scores (like a `top_hits` aggregation), this will throw an exception.
Original file line number Diff line number Diff line change
@@ -142,6 +142,78 @@ Which returns:
----
// TESTRESPONSE


==== `missing`

The `missing` parameter defines how documents with a missing value are treated.
By default, if any of the key components are missing, the entire document is
ignored. It is possible to treat the missing components as if they had a value
by using the `missing` parameter.

[source,console]
----
PUT /my-index
{
"mappings": {
"properties": {
"nr": { "type": "integer" },
"state": { "type": "keyword" } <1>
}
}
}
POST /my-index/_bulk?refresh
{"index": {}}
{"nr": 1, "state": "started"}
{"index": {}}
{"nr": 2, "state": "stopped"}
{"index": {}}
{"nr": 3, "state": "N/A"}
{"index": {}}
{"nr": 4} <2>
POST /my-index/_search?filter_path=aggregations
{
"aggs": {
"my_top_metrics": {
"top_metrics": {
"metrics": {
"field": "state",
"missing": "N/A"}, <3>
"sort": {"nr": "desc"}
}
}
}
}
----

<1> If you want to use an aggregation on textual content, it must be a `keyword`
type field or you must enable fielddata on that field.
<2> This document has a missing `state` field value.
<3> The `missing` parameter defines that if `state` field has a missing value,
it should be treated as if it had the `N/A` value.

The request results in the following response:

[source,console-result]
----
{
"aggregations": {
"my_top_metrics": {
"top": [
{
"sort": [
4
],
"metrics": {
"state": "N/A"
}
}
]
}
}
}
----


==== `size`

`top_metrics` can return the top few document's worth of metrics using the size parameter:
2 changes: 1 addition & 1 deletion docs/reference/analysis/normalizers.asciidoc
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ following: `arabic_normalization`, `asciifolding`, `bengali_normalization`,
`cjk_width`, `decimal_digit`, `elision`, `german_normalization`,
`hindi_normalization`, `indic_normalization`, `lowercase`,
`persian_normalization`, `scandinavian_folding`, `serbian_normalization`,
`sorani_normalization`, `uppercase`.
`sorani_normalization`, `trim`, `uppercase`.

Elasticsearch ships with a `lowercase` built-in normalizer. For other forms of
normalization a custom configuration is required.
Original file line number Diff line number Diff line change
@@ -2,6 +2,8 @@
[[delete-analytics-collection]]
=== Delete Analytics Collection

beta::[]

++++
<titleabbrev>Delete Analytics Collection</titleabbrev>
++++
2 changes: 2 additions & 0 deletions docs/reference/behavioral-analytics/apis/index.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[[behavioral-analytics-apis]]
== Behavioral Analytics APIs

beta::[]

++++
<titleabbrev>Behavioral Analytics APIs</titleabbrev>
++++
Original file line number Diff line number Diff line change
@@ -2,6 +2,8 @@
[[list-analytics-collection]]
=== List Analytics Collections

beta::[]

++++
<titleabbrev>List Analytics Collections</titleabbrev>
++++
Original file line number Diff line number Diff line change
@@ -2,6 +2,8 @@
[[post-analytics-collection-event]]
=== Post Event to an Analytics Collection

beta::[]

++++
<titleabbrev>Post Analytics Collection Event</titleabbrev>
++++
Original file line number Diff line number Diff line change
@@ -2,6 +2,8 @@
[[put-analytics-collection]]
=== Put Analytics Collection

beta::[]

++++
<titleabbrev>Put Analytics Collection</titleabbrev>
++++
2 changes: 2 additions & 0 deletions docs/reference/release-notes.asciidoc
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@

This section summarizes the changes in each release.

* <<release-notes-8.8.1>>
* <<release-notes-8.8.0>>
* <<release-notes-8.7.1>>
* <<release-notes-8.7.0>>
@@ -42,6 +43,7 @@ This section summarizes the changes in each release.

--

include::release-notes/8.8.1.asciidoc[]
include::release-notes/8.8.0.asciidoc[]
include::release-notes/8.7.1.asciidoc[]
include::release-notes/8.7.0.asciidoc[]
1 change: 1 addition & 0 deletions docs/reference/release-notes/8.8.0.asciidoc
Original file line number Diff line number Diff line change
@@ -178,6 +178,7 @@ Ingest Node::
Machine Learning::
* Add `_meta` field to data frame analytics config {es-pull}94529[#94529]
* Add `embedding_size` to text embedding config {es-pull}95176[#95176]
* Anomaly score explanation for rare detector {ml-pull}2449[#2449]
* Include model definition install status for Pytorch models {es-pull}95271[#95271]
* Integrate ELSER model download into put trained model API {es-pull}95281[#95281]
* Start, stop and infer of a trained model can now optionally use a deployment ID that is different to the model ID {es-pull}95168[#95168]
34 changes: 34 additions & 0 deletions docs/reference/release-notes/8.8.1.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[[release-notes-8.8.1]]
== {es} version 8.8.1

Also see <<breaking-changes-8.8,Breaking changes in 8.8>>.

[[bug-8.8.1]]
[float]
=== Bug fixes

Data streams::
* Allow the removal of an in-use template if there are other ones matching the dependent data streams {es-pull}96286[#96286]

Geo::
* API rest compatibility for type parameter in `geo_bounding_box` query {es-pull}96317[#96317]

Rollup::
* Do not copy `index.default_pipeline` and `index.final_pipeline` {es-pull}96494[#96494] (issue: {es-issue}96478[#96478])

TSDB::
* Expand start and end time to nanoseconds during coordinator rewrite when needed {es-pull}96035[#96035] (issue: {es-issue}96030[#96030])
* Fix NPE when indexing a document that just has been deleted in a tsdb index {es-pull}96461[#96461]

Transform::
* Improve error message on transform `_update` conflict {es-pull}96432[#96432]
* Report version conflict on concurrent updates {es-pull}96293[#96293] (issue: {es-issue}96311[#96311])

[[enhancement-8.8.1]]
[float]
=== Enhancements

Query Languages::
* Reduce nesting of same bool queries {es-pull}96265[#96265] (issue: {es-issue}96236[#96236])


Loading