Skip to content

Commit 9c4f16c

Browse files
committed
Merge remote-tracking branch 'upstream/master' into route-refactoring
2 parents fa32759 + 5147370 commit 9c4f16c

File tree

47 files changed

+1122
-282
lines changed

Some content is hidden

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

47 files changed

+1122
-282
lines changed

buildSrc/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ tasks.withType(JavaCompile).configureEach {
7777
*****************************************************************************/
7878

7979
repositories {
80-
jcenter()
80+
mavenCentral()
81+
gradlePluginPortal()
8182
}
8283

8384
dependencies {

buildSrc/src/integTest/groovy/org/elasticsearch/gradle/ElasticsearchTestBasePluginFuncTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class ElasticsearchTestBasePluginFuncTest extends AbstractGradleFuncTest {
3232
}
3333
3434
repositories {
35-
jcenter()
35+
mavenCentral()
3636
}
3737
3838
dependencies {

buildSrc/src/main/java/org/elasticsearch/gradle/RepositoriesSetupPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public static void configureRepositories(Project project) {
5858
// such that we don't have to pass hardcoded files to gradle
5959
repos.mavenLocal();
6060
}
61-
repos.jcenter();
61+
repos.mavenCentral();
6262

6363
String luceneVersion = VersionProperties.getLucene();
6464
if (luceneVersion.contains("-snapshot")) {

buildSrc/src/testKit/elasticsearch.build/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ repositories {
3232
artifact()
3333
}
3434
}
35-
jcenter()
35+
mavenCentral()
3636
}
3737

3838
repositories {
@@ -46,7 +46,7 @@ repositories {
4646
artifact()
4747
}
4848
}
49-
jcenter()
49+
mavenCentral()
5050
}
5151

5252
// todo remove offending rules

buildSrc/src/testKit/testingConventions/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ allprojects {
77
apply plugin: org.elasticsearch.gradle.internal.precommit.TestingConventionsPrecommitPlugin
88

99
repositories {
10-
jcenter()
10+
mavenCentral()
1111
}
1212
dependencies {
1313
testImplementation "junit:junit:4.12"

buildSrc/src/testKit/thirdPartyAudit/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repositories {
2525
artifact()
2626
}
2727
}
28-
jcenter()
28+
mavenCentral()
2929
}
3030

3131
dependencies {

distribution/docker/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ elasticsearch_distributions {
233233
}
234234

235235
tasks.named("preProcessFixture").configure {
236-
dependsOn elasticsearch_distributions.docker_default, elasticsearch_distributions.docker_oss
236+
dependsOn elasticsearch_distributions.matching { it.architecture == Architecture.current() }
237237
dependsOn "copyNodeKeyMaterial"
238238
doLast {
239239
// tests expect to have an empty repo

distribution/docker/transform-log4j-config/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apply plugin: 'elasticsearch.build'
22

33
repositories {
4-
jcenter()
4+
mavenCentral()
55
}
66

77
dependencies {

docs/reference/aggregations/pipeline/inference-bucket-aggregation.asciidoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A parent pipeline aggregation which loads a pre-trained model and performs
1212
{infer} on the collated result fields from the parent bucket aggregation.
1313

1414
To use the {infer} bucket aggregation, you need to have the same security
15-
privileges that are required for using the <<get-trained-models>>.
15+
privileges that are required for using the <<get-trained-models,get trained models API>>.
1616

1717
[[inference-bucket-agg-syntax]]
1818
==== Syntax
@@ -37,7 +37,7 @@ A `inference` aggregation looks like this in isolation:
3737
}
3838
--------------------------------------------------
3939
// NOTCONSOLE
40-
<1> The ID of model to use.
40+
<1> The unique identifier or alias for the trained model.
4141
<2> The optional inference config which overrides the model's default settings
4242
<3> Map the value of `avg_agg` to the model's input field `avg_cost`
4343

@@ -47,7 +47,7 @@ A `inference` aggregation looks like this in isolation:
4747
[options="header"]
4848
|===
4949
|Parameter Name |Description |Required |Default Value
50-
| `model_id` | The ID of the model to load and infer against | Required | -
50+
| `model_id` | The ID or alias for the trained model. | Required | -
5151
| `inference_config` | Contains the inference type and its options. There are two types: <<inference-agg-regression-opt,`regression`>> and <<inference-agg-classification-opt,`classification`>> | Optional | -
5252
| `buckets_path` | Defines the paths to the input aggregations and maps the aggregation names to the field names expected by the model.
5353
See <<buckets-path-syntax>> for more details | Required | -
@@ -181,5 +181,5 @@ GET kibana_sample_data_logs/_search
181181

182182
<1> A composite bucket aggregation that aggregates the data by `client_ip`.
183183
<2> A series of metrics and bucket sub-aggregations.
184-
<3> {infer-cap} bucket aggregation that contains the model ID and maps the
184+
<3> {infer-cap} bucket aggregation that specifies the trained model and maps the
185185
aggregation names to the model's input fields.

docs/reference/ilm/actions/ilm-rollup.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Aggregates an index's time series data and stores the results in a new read-only
88
index. For example, you can roll up hourly data into daily or weekly summaries.
99

1010
This action corresponds to the <<rollup-api,rollup API>>. The name of the
11-
resulting rollup index is `rollup-<original-index-name>`. If {ilm-init} performs
11+
resulting rollup index is `rollup-<original-index-name>-<random-uuid>`. If {ilm-init} performs
1212
the `rollup` action on a backing index for a data stream, the rollup index is a
1313
backing index for the same stream.
1414

0 commit comments

Comments
 (0)