Skip to content

Commit b879a93

Browse files
Merge branch 'main' into esql/project_routing
2 parents 337334d + 60245c9 commit b879a93

File tree

38 files changed

+943
-247
lines changed

38 files changed

+943
-247
lines changed

build-tools/src/main/java/org/elasticsearch/gradle/VersionProperties.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
/**
1818
* Accessor for shared dependency versions used by elasticsearch, namely the elasticsearch and lucene versions.
1919
*
20-
* @deprecated use ext values set by {@link org.elasticsearch.gradle.internal.conventions.VersionPropertiesPlugin} or
21-
* {@link org.elasticsearch.gradle.internal.conventions.VersionPropertiesBuildService}
20+
* @deprecated use ext values set by org.elasticsearch.gradle.internal.conventions.VersionPropertiesPlugin or
21+
* org.elasticsearch.gradle.internal.conventions.VersionPropertiesBuildService
2222
*
2323
*/
2424
@Deprecated

docs/changelog/133919.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 133919
2+
summary: Fix double-counting of inference memory in the assignment rebalancer
3+
area: Machine Learning
4+
type: bug
5+
issues: []

docs/changelog/133930.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 133930
2+
summary: Improve memory estimation methods accuracy in `TrainedModelAssignmentRebalancer`
3+
and related classes
4+
area: Machine Learning
5+
type: bug
6+
issues: []

docs/reference/query-languages/esql/_snippets/functions/examples/knn.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/_snippets/functions/functionNamedParams/knn.md

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/_snippets/functions/parameters/knn.md

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/images/functions/knn.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/reference/query-languages/esql/kibana/definition/functions/knn.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/query-languages/esql/kibana/docs/functions/knn.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libs/exponential-histogram/src/main/java/org/elasticsearch/exponentialhistogram/ExponentialHistogram.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,16 @@ static ExponentialHistogram empty() {
206206
return EmptyExponentialHistogram.INSTANCE;
207207
}
208208

209+
/**
210+
* Create a builder for an exponential histogram with the given scale.
211+
* @param scale the scale of the histogram to build
212+
* @param breaker the circuit breaker to use
213+
* @return a new builder
214+
*/
215+
static ExponentialHistogramBuilder builder(int scale, ExponentialHistogramCircuitBreaker breaker) {
216+
return new ExponentialHistogramBuilder(scale, breaker);
217+
}
218+
209219
/**
210220
* Creates a histogram representing the distribution of the given values with at most the given number of buckets.
211221
* If the given {@code maxBucketCount} is greater than or equal to the number of values, the resulting histogram will have a

0 commit comments

Comments
 (0)