Skip to content

Commit 07ad376

Browse files
committed
Merge remote-tracking branch 'elastic/master' into geosql
2 parents c6d611b + 07e0f0d commit 07ad376

File tree

99 files changed

+958
-607
lines changed

Some content is hidden

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

99 files changed

+958
-607
lines changed

buildSrc/src/main/java/org/elasticsearch/gradle/testclusters/TestClustersPlugin.java

Lines changed: 89 additions & 99 deletions
Large diffs are not rendered by default.

distribution/docker/build.gradle

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,7 @@ void addCopyDockerfileTask(final boolean oss) {
9090
}
9191

9292
preProcessFixture {
93-
dependsOn taskName("copy", true, "DockerContext")
94-
dependsOn taskName("copy", true, "Dockerfile")
95-
dependsOn taskName("copy", false, "DockerContext")
96-
dependsOn taskName("copy", false, "Dockerfile")
93+
dependsOn assemble
9794
}
9895

9996
postProcessFixture.doLast {
@@ -110,12 +107,16 @@ void addBuildDockerImage(final boolean oss) {
110107
dependsOn taskName("copy", oss, "Dockerfile")
111108
List<String> tags
112109
if (oss) {
113-
tags = [ "docker.elastic.co/elasticsearch/elasticsearch-oss:${VersionProperties.elasticsearch}" ]
110+
tags = [
111+
"docker.elastic.co/elasticsearch/elasticsearch-oss:${VersionProperties.elasticsearch}",
112+
"elasticsearch-oss:test"
113+
]
114114
} else {
115115
tags = [
116116
"elasticsearch:${VersionProperties.elasticsearch}",
117117
"docker.elastic.co/elasticsearch/elasticsearch:${VersionProperties.elasticsearch}",
118-
"docker.elastic.co/elasticsearch/elasticsearch-full:${VersionProperties.elasticsearch}"
118+
"docker.elastic.co/elasticsearch/elasticsearch-full:${VersionProperties.elasticsearch}",
119+
"elasticsearch:test",
119120
]
120121
}
121122
executable 'docker'

distribution/docker/docker-compose.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,14 @@
22
version: '3'
33
services:
44
elasticsearch-default:
5-
build:
6-
context: ./build/docker
7-
dockerfile: Dockerfile
5+
image: elasticsearch:test
86
environment:
97
- cluster.name=elasticsearch-default
108
- discovery.type=single-node
119
ports:
1210
- "9200"
1311
elasticsearch-oss:
14-
build:
15-
context: ./build/oss-docker
16-
dockerfile: Dockerfile
12+
image: elasticsearch-oss:test
1713
environment:
1814
- cluster.name=elasticsearch-oss
1915
- discovery.type=single-node

docs/Versions.asciidoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
:version: 8.0.0-alpha1
2+
////
3+
bare_version never includes -alpha or -beta
4+
////
5+
:bare_version: 8.0.0
26
:major-version: 8.x
37
:prev-major-version: 7.x
48
:lucene_version: 8.0.0
@@ -42,6 +46,7 @@ ifeval::["{release-state}"=="unreleased"]
4246
:percolator-client-javadoc: https://snapshots.elastic.co/javadoc/org/elasticsearch/plugin/percolator-client/{version}-SNAPSHOT
4347
:matrixstats-client-javadoc: https://snapshots.elastic.co/javadoc/org/elasticsearch/plugin/aggs-matrix-stats-client/{version}-SNAPSHOT
4448
:rank-eval-client-javadoc: https://snapshots.elastic.co/javadoc/org/elasticsearch/plugin/rank-eval-client/{version}-SNAPSHOT
49+
:version_qualified: {bare_version}-SNAPSHOT
4550
endif::[]
4651

4752
ifeval::["{release-state}"!="unreleased"]
@@ -55,6 +60,7 @@ ifeval::["{release-state}"!="unreleased"]
5560
:percolator-client-javadoc: https://artifacts.elastic.co/javadoc/org/elasticsearch/plugin/percolator-client/{version}
5661
:matrixstats-client-javadoc: https://artifacts.elastic.co/javadoc/org/elasticsearch/plugin/aggs-matrix-stats-client/{version}
5762
:rank-eval-client-javadoc: https://artifacts.elastic.co/javadoc/org/elasticsearch/plugin/rank-eval-client/{version}
63+
:version_qualified: {bare_version}
5864
endif::[]
5965

6066
:javadoc-client: {rest-high-level-client-javadoc}/org/elasticsearch/client

docs/plugins/repository-gcs.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Some settings are sensitive and must be stored in the
152152

153153
[source,sh]
154154
----
155-
bin/elasticsearch-keystore add-file gcs.client.default.credentials_file
155+
bin/elasticsearch-keystore add-file gcs.client.default.credentials_file /path/service-account.json
156156
----
157157

158158
The following are the available client settings. Those that must be stored in the keystore

docs/reference/aggregations/bucket/daterange-aggregation.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ POST /sales/_search?size=0
278278
"time_zone": "CET",
279279
"ranges": [
280280
{ "to": "2016/02/01" }, <1>
281-
{ "from": "2016/02/01", "to" : "now/d" <2>},
281+
{ "from": "2016/02/01", "to" : "now/d" }, <2>
282282
{ "from": "now/d" }
283283
]
284284
}

docs/reference/aggregations/bucket/significantterms-aggregation.asciidoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,12 @@ It is possible (although rarely required) to filter the values for which buckets
542542
`exclude` parameters which are based on a regular expression string or arrays of exact terms. This functionality mirrors the features
543543
described in the <<search-aggregations-bucket-terms-aggregation,terms aggregation>> documentation.
544544

545+
==== Collect mode
546+
547+
To avoid memory issues, the `significant_terms` aggregation always computes child aggregations in `breadth_first` mode.
548+
A description of the different collection modes can be found in the
549+
<<search-aggregations-bucket-terms-aggregation-collect, terms aggregation>> documentation.
550+
545551
==== Execution hint
546552

547553
There are different mechanisms by which terms aggregations can be executed:

docs/reference/aggregations/bucket/terms-aggregation.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,7 @@ fields, then use `copy_to` in your mapping to create a new dedicated field at
775775
index time which contains the values from both fields. You can aggregate on
776776
this single field, which will benefit from the global ordinals optimization.
777777

778+
[[search-aggregations-bucket-terms-aggregation-collect]]
778779
==== Collect mode
779780

780781
Deferring calculation of child aggregations

docs/reference/cluster/stats.asciidoc

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,21 +195,28 @@ Will return, for example:
195195
},
196196
"discovery_types": {
197197
...
198-
}
198+
},
199+
"packaging_types": [
200+
{
201+
...
202+
}
203+
]
199204
}
200205
}
201206
--------------------------------------------------
202207
// TESTRESPONSE[s/"plugins": \[[^\]]*\]/"plugins": $body.$_path/]
203208
// TESTRESPONSE[s/"network_types": \{[^\}]*\}/"network_types": $body.$_path/]
204209
// TESTRESPONSE[s/"discovery_types": \{[^\}]*\}/"discovery_types": $body.$_path/]
210+
// TESTRESPONSE[s/"packaging_types": \[[^\]]*\]/"packaging_types": $body.$_path/]
205211
// TESTRESPONSE[s/: true|false/: $body.$_path/]
206212
// TESTRESPONSE[s/: (\-)?[0-9]+/: $body.$_path/]
207213
// TESTRESPONSE[s/: "[^"]*"/: $body.$_path/]
208214
// These replacements do a few things:
209215
// 1. Ignore the contents of the `plugins` object because we don't know all of
210216
// the plugins that will be in it. And because we figure folks don't need to
211217
// see an exhaustive list anyway.
212-
// 2. Similarly, ignore the contents of `network_types` and `discovery_types`.
218+
// 2. Similarly, ignore the contents of `network_types`, `discovery_types`, and
219+
// `packaging_types`.
213220
// 3. All of the numbers and strings on the right hand side of *every* field in
214221
// the response are ignored. So we're really only asserting things about the
215222
// the shape of this response, not the values in it.

docs/reference/indices/split-index.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ PUT my_source_index
9292
"index.number_of_shards" : 1
9393
}
9494
}
95-
-------------------------------------------------
95+
--------------------------------------------------
9696
// CONSOLE
9797

9898
In order to split an index, the index must be marked as read-only,

0 commit comments

Comments
 (0)