Skip to content

Commit ea54b47

Browse files
authored
Merge branch 'main' into kderusso/esql-match-phrase-function-registry-fix
2 parents c31ce12 + 71de00c commit ea54b47

File tree

58 files changed

+939
-217
lines changed

Some content is hidden

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

58 files changed

+939
-217
lines changed

build-tools-internal/gradle/wrapper/gradle-wrapper.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionSha256Sum=d7042b3c11565c192041fc8c4703f541b888286404b4f267138c1d094d8ecdca
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.1-all.zip
3+
distributionSha256Sum=443c9c8ee2ac1ee0e11881a40f2376d79c66386264a44b24a9f8ca67e633375f
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-all.zip
55
networkTimeout=10000
66
validateDistributionUrl=true
77
zipStoreBase=GRADLE_USER_HOME
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.14.1
1+
8.14.2

docs/changelog/128910.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 128910
2+
summary: Fix `FieldAttribute` name usage in `InferNonNullAggConstraint`
3+
area: ES|QL
4+
type: bug
5+
issues: []

docs/changelog/129164.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 129164
2+
summary: Log partial failures
3+
area: ES|QL
4+
type: feature
5+
issues: []

docs/reference/query-languages/esql/_snippets/lists/search-functions.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
* [preview] [`MATCH`](../../functions-operators/search-functions.md#esql-match)
33
* [preview] [`MATCH_PHRASE`](../../functions-operators/search-functions.md#esql-match_phrase)
44
* [preview] [`QSTR`](../../functions-operators/search-functions.md#esql-qstr)
5-
% * [preview] [
6-
`TERM`](../../functions-operators/search-functions.md#esql-term)
5+
% * [preview] [`TERM`](../../functions-operators/search-functions.md#esql-term)

gradle/wrapper/gradle-wrapper.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionSha256Sum=d7042b3c11565c192041fc8c4703f541b888286404b4f267138c1d094d8ecdca
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.1-all.zip
3+
distributionSha256Sum=443c9c8ee2ac1ee0e11881a40f2376d79c66386264a44b24a9f8ca67e633375f
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-all.zip
55
networkTimeout=10000
66
validateDistributionUrl=true
77
zipStoreBase=GRADLE_USER_HOME

muted-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,9 @@ tests:
520520
- class: org.elasticsearch.xpack.esql.qa.single_node.GenerativeForkIT
521521
method: test {lookup-join.MultipleBatches*
522522
issue: https://github.com/elastic/elasticsearch/issues/129210
523+
- class: org.elasticsearch.compute.data.sort.LongTopNSetTests
524+
method: testCrankyBreaker
525+
issue: https://github.com/elastic/elasticsearch/issues/129257
523526

524527
# Examples:
525528
#

plugins/examples/gradle/wrapper/gradle-wrapper.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionSha256Sum=d7042b3c11565c192041fc8c4703f541b888286404b4f267138c1d094d8ecdca
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.1-all.zip
3+
distributionSha256Sum=443c9c8ee2ac1ee0e11881a40f2376d79c66386264a44b24a9f8ca67e633375f
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-all.zip
55
networkTimeout=10000
66
validateDistributionUrl=true
77
zipStoreBase=GRADLE_USER_HOME
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
setup:
3+
- requires:
4+
cluster_features: ["mapper.search_load_per_shard"]
5+
reason: Shard search load stats were introduced in 9.1
6+
---
7+
"Search load is tracked at shard level":
8+
- do:
9+
indices.create:
10+
index: index
11+
body:
12+
mappings:
13+
properties:
14+
name:
15+
type: text
16+
description:
17+
type: text
18+
price:
19+
type: double
20+
21+
- do:
22+
indices.stats:
23+
index: "index"
24+
level: shards
25+
metric: [ search ]
26+
27+
- match: { _all.total.search.recent_search_load: 0.0 }
28+
- match: { indices.index.total.search.recent_search_load: 0.0 }
29+
- match: { indices.index.shards.0.0.search.recent_search_load: 0.0 }
30+
31+
- do:
32+
index:
33+
index: index
34+
body: { "name": "specialty coffee", "description": "arabica coffee beans", "price": 100 }
35+
36+
- do:
37+
search:
38+
index: index
39+
body:
40+
query:
41+
match: { name: "specialty coffee" }
42+
size: 1
43+
44+
- do:
45+
indices.stats:
46+
index: "index"
47+
level: shards
48+
metric: [ search ]
49+
50+
- gte: { _all.total.search.recent_search_load: 0.0 }
51+
- gte: { indices.index.total.search.recent_search_load: 0.0 }
52+
- gte: { indices.index.shards.0.0.search.recent_search_load: 0.0 }

server/src/internalClusterTest/java/org/elasticsearch/index/shard/IndexShardIT.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
import org.elasticsearch.index.flush.FlushStats;
5454
import org.elasticsearch.index.mapper.MapperMetrics;
5555
import org.elasticsearch.index.mapper.SourceToParse;
56+
import org.elasticsearch.index.search.stats.SearchStatsSettings;
5657
import org.elasticsearch.index.seqno.RetentionLeaseSyncer;
5758
import org.elasticsearch.index.seqno.SequenceNumbers;
5859
import org.elasticsearch.index.translog.TestTranslog;
@@ -638,7 +639,8 @@ public static final IndexShard newIndexShard(
638639
System::nanoTime,
639640
null,
640641
MapperMetrics.NOOP,
641-
new IndexingStatsSettings(ClusterSettings.createBuiltInClusterSettings())
642+
new IndexingStatsSettings(ClusterSettings.createBuiltInClusterSettings()),
643+
new SearchStatsSettings(ClusterSettings.createBuiltInClusterSettings())
642644
);
643645
}
644646

0 commit comments

Comments
 (0)