Skip to content

Commit

Permalink
merging main
Browse files Browse the repository at this point in the history
  • Loading branch information
masseyke committed Nov 14, 2024
2 parents 36fac0f + 04a8044 commit 28c75a6
Show file tree
Hide file tree
Showing 299 changed files with 9,244 additions and 2,419 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
package org.elasticsearch.benchmark.index.mapper;

import org.apache.lucene.analysis.standard.StandardAnalyzer;
import org.apache.lucene.util.Accountable;
import org.elasticsearch.TransportVersion;
import org.elasticsearch.cluster.ClusterModule;
import org.elasticsearch.cluster.metadata.IndexMetadata;
Expand All @@ -28,7 +27,6 @@
import org.elasticsearch.index.mapper.MapperRegistry;
import org.elasticsearch.index.mapper.MapperService;
import org.elasticsearch.index.mapper.ProvidedIdFieldMapper;
import org.elasticsearch.index.shard.ShardId;
import org.elasticsearch.index.similarity.SimilarityService;
import org.elasticsearch.indices.IndicesModule;
import org.elasticsearch.script.Script;
Expand Down Expand Up @@ -56,13 +54,7 @@ public static MapperService create(String mappings) {
MapperRegistry mapperRegistry = new IndicesModule(Collections.emptyList()).getMapperRegistry();

SimilarityService similarityService = new SimilarityService(indexSettings, null, Map.of());
BitsetFilterCache bitsetFilterCache = new BitsetFilterCache(indexSettings, new BitsetFilterCache.Listener() {
@Override
public void onCache(ShardId shardId, Accountable accountable) {}

@Override
public void onRemoval(ShardId shardId, Accountable accountable) {}
});
BitsetFilterCache bitsetFilterCache = new BitsetFilterCache(indexSettings, BitsetFilterCache.Listener.NOOP);
MapperService mapperService = new MapperService(
() -> TransportVersion.current(),
indexSettings,
Expand Down
2 changes: 1 addition & 1 deletion build-tools-internal/version.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ log4j = 2.19.0
slf4j = 2.0.6
ecsLogging = 1.2.0
jna = 5.12.1
netty = 4.1.109.Final
netty = 4.1.115.Final
commons_lang3 = 3.9
google_oauth_client = 1.34.1

Expand Down
7 changes: 5 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,11 @@ gradle.projectsEvaluated {
}
}

tasks.named("validateChangelogs") {
onlyIf { project.gradle.startParameter.taskNames.any { it.startsWith("checkPart") || it == 'functionalTests' } == false }
tasks.named("validateChangelogs").configure {
def triggeredTaskNames = gradle.startParameter.taskNames
onlyIf {
triggeredTaskNames.any { it.startsWith("checkPart") || it == 'functionalTests' } == false
}
}

tasks.named("precommit") {
Expand Down
5 changes: 5 additions & 0 deletions docs/changelog/113194.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 113194
summary: Add Search Phase APM metrics
area: Search
type: enhancement
issues: []
14 changes: 14 additions & 0 deletions docs/changelog/114202.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pr: 114202
summary: Remove deprecated `xpack.searchable.snapshot.allocate_on_rolling_restart` setting
area: Snapshot/Restore
type: breaking
issues: []
breaking:
title: Remove deprecated `xpack.searchable.snapshot.allocate_on_rolling_restart` setting
area: 'Cluster and node setting'
details: >-
The `xpack.searchable.snapshot.allocate_on_rolling_restart` setting was created as an escape-hatch just in case
relying on the `cluster.routing.allocation.enable=primaries` setting for allocating searchable snapshots during
rolling restarts had some unintended side-effects. It has been deprecated since 8.2.0.
impact: Remove `xpack.searchable.snapshot.allocate_on_rolling_restart` from your settings if present.
notable: false
5 changes: 5 additions & 0 deletions docs/changelog/115678.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 115678
summary: "ESQL: extract common filter from aggs"
area: ES|QL
type: enhancement
issues: []
5 changes: 5 additions & 0 deletions docs/changelog/115687.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 115687
summary: Add default ILM policies and switch to ILM for apm-data plugin
area: Data streams
type: feature
issues: []
6 changes: 6 additions & 0 deletions docs/changelog/115814.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 115814
summary: "[ES|QL] Implicit casting string literal to intervals"
area: ES|QL
type: enhancement
issues:
- 115352
5 changes: 5 additions & 0 deletions docs/changelog/115858.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 115858
summary: "ESQL: optimise aggregations filtered by false/null into evals"
area: ES|QL
type: enhancement
issues: []
14 changes: 14 additions & 0 deletions docs/changelog/116077.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
pr: 116077
summary: Remove `ecs` option on `user_agent` processor
area: Ingest Node
type: breaking
issues: []
breaking:
title: Remove `ecs` option on `user_agent` processor
area: Ingest
details: >-
The `user_agent` ingest processor no longer accepts the `ecs` option. (It was previously deprecated and ignored.)
impact: >-
Users should stop using the `ecs` option when creating instances of the `user_agent` ingest processor.
The option will be removed from existing processors stored in the cluster state on upgrade.
notable: false
5 changes: 5 additions & 0 deletions docs/changelog/116348.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 116348
summary: "ESQL: Honor skip_unavailable setting for nonmatching indices errors at planning time"
area: ES|QL
type: enhancement
issues: [ 114531 ]
5 changes: 5 additions & 0 deletions docs/changelog/116357.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 116357
summary: Add tracking for query rule types
area: Relevance
type: enhancement
issues: []
6 changes: 6 additions & 0 deletions docs/changelog/116408.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 116408
summary: Propagating nested `inner_hits` to the parent compound retriever
area: Ranking
type: bug
issues:
- 116397
5 changes: 5 additions & 0 deletions docs/changelog/116591.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 116591
summary: "Add support for `BYTE_LENGTH` scalar function"
area: ES|QL
type: feature
issues: []
6 changes: 6 additions & 0 deletions docs/changelog/116656.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 116656
summary: _validate does not honour ignore_unavailable
area: Search
type: bug
issues:
- 116594
2 changes: 2 additions & 0 deletions docs/reference/esql/functions/description/bit_length.asciidoc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions docs/reference/esql/functions/description/length.asciidoc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions docs/reference/esql/functions/examples/byte_length.asciidoc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions docs/reference/esql/functions/kibana/definition/bit_length.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions docs/reference/esql/functions/kibana/definition/byte_length.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion docs/reference/esql/functions/kibana/definition/length.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions docs/reference/esql/functions/kibana/docs/bit_length.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions docs/reference/esql/functions/kibana/docs/byte_length.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions docs/reference/esql/functions/kibana/docs/length.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions docs/reference/esql/functions/layout/byte_length.asciidoc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions docs/reference/esql/functions/parameters/byte_length.asciidoc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/reference/esql/functions/signature/byte_length.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions docs/reference/esql/functions/string-functions.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

// tag::string_list[]
* <<esql-bit_length>>
* <<esql-byte_length>>
* <<esql-concat>>
* <<esql-ends_with>>
* <<esql-from_base64>>
Expand All @@ -32,6 +33,7 @@
// end::string_list[]

include::layout/bit_length.asciidoc[]
include::layout/byte_length.asciidoc[]
include::layout/concat.asciidoc[]
include::layout/ends_with.asciidoc[]
include::layout/from_base64.asciidoc[]
Expand Down
10 changes: 10 additions & 0 deletions docs/reference/esql/functions/types/byte_length.asciidoc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 28c75a6

Please sign in to comment.