Skip to content

Commit 87ccf54

Browse files
committed
Merge branch 'main' into aggs-composite-memory
2 parents 7b3d88d + 35aea72 commit 87ccf54

File tree

29 files changed

+1344
-1086
lines changed

29 files changed

+1344
-1086
lines changed

distribution/docker/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,11 @@ subprojects { Project subProject ->
668668
dependsOn compressExportTask
669669
}
670670

671+
tasks.named('assemble').configure {
672+
dependsOn exportTask
673+
}
674+
675+
// deprecated here for backwards compatibility of DistroTestPlugin and DistributionDownloadPlugin
671676
artifacts.add('default', file(tarFile)) {
672677
type = 'tar'
673678
name = artifactName

docs/reference/elasticsearch/mapping-reference/mapping-source-field.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ If disk usage is important to you, then consider the following options:
1717

1818
## Synthetic `_source` [synthetic-source]
1919

20-
Though very handy to have around, the source field takes up a significant amount of space on disk. Instead of storing source documents on disk exactly as you send them, Elasticsearch can reconstruct source content on the fly upon retrieval. To enable this [subscription](https://www.elastic.co/subscriptions) feature, use the value `synthetic` for the index setting `index.mapping.source.mode`:
20+
:::{note}
21+
This feature requires a [subscription](https://www.elastic.co/subscriptions).
22+
:::
23+
24+
Though very handy to have around, the source field takes up a significant amount of space on disk. Instead of storing source documents on disk exactly as you send them, Elasticsearch can reconstruct source content on the fly upon retrieval. To enable this feature, use the value `synthetic` for the index setting `index.mapping.source.mode`:
2125

2226
$$$enable-synthetic-source-example$$$
2327

docs/reference/query-languages/esql/_snippets/functions/description/contains.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/layout/contains.md

Lines changed: 3 additions & 0 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/contains.md

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

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

Lines changed: 9 additions & 9 deletions
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/contains.md

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

docs/reference/query-languages/query-dsl/query-dsl-knn-query.md

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -96,39 +96,35 @@ The filter is a pre-filter, meaning that it is applied **during** the approximat
9696
`similarity`
9797
: (Optional, float) The minimum similarity required for a document to be considered a match. The similarity value calculated relates to the raw [`similarity`](/reference/elasticsearch/mapping-reference/dense-vector.md#dense-vector-similarity) used. Not the document score. The matched documents are then scored according to [`similarity`](/reference/elasticsearch/mapping-reference/dense-vector.md#dense-vector-similarity) and the provided `boost` is applied.
9898

99+
`boost`
100+
: (Optional, float) Floating point number used to multiply the scores of matched documents. This value cannot be negative. Defaults to `1.0`.
99101

100-
`rescore_vector` {applies_to}`stack: preview 9.0, ga 9.1`
101-
: (Optional, object) Apply oversampling and rescoring to quantized vectors.
102-
103-
::::{note}
104-
Rescoring only makes sense for quantized vectors; when [quantization](/reference/elasticsearch/mapping-reference/dense-vector.md#dense-vector-quantization) is not used, the original vectors are used for scoring. Rescore option will be ignored for non-quantized `dense_vector` fields.
105-
::::
106-
107-
108-
`oversample`
109-
: (Required, float)
110-
111-
Applies the specified oversample factor to `k` on the approximate kNN search. The approximate kNN search will:
112-
113-
* Retrieve `num_candidates` candidates per shard.
114-
* From these candidates, the top `k * oversample` candidates per shard will be rescored using the original vectors.
115-
* The top `k` rescored candidates will be returned.
116-
Must be one of the following values:
117-
* \>= 1f to indicate the oversample factor
118-
* Exactly `0` to indicate that no oversampling and rescoring should occur. {applies_to}`stack: ga 9.1`
119102

103+
`_name`
104+
: (Optional, string) Name field to identify the query
120105

121-
See [oversampling and rescoring quantized vectors](docs-content://solutions/search/vector/knn.md#dense-vector-knn-search-rescoring) for details.
122106

107+
`rescore_vector` {applies_to}`stack: preview 9.0, ga 9.1`
108+
: (Optional, object) Apply oversampling and rescoring to quantized vectors.
123109

124-
`boost`
125-
: (Optional, float) Floating point number used to multiply the scores of matched documents. This value cannot be negative. Defaults to `1.0`.
110+
**Parameters for `rescore_vector`**:
111+
112+
`oversample`
113+
: (Required, float)
126114

115+
Applies the specified oversample factor to `k` on the approximate kNN search. The approximate kNN search will:
127116

128-
`_name`
129-
: (Optional, string) Name field to identify the query
117+
* Retrieve `num_candidates` candidates per shard.
118+
* From these candidates, the top `k * oversample` candidates per shard will be rescored using the original vectors.
119+
* The top `k` rescored candidates will be returned. Must be one of the following values:
120+
* \>= 1f to indicate the oversample factor
121+
* Exactly `0` to indicate that no oversampling and rescoring should occur. {applies_to}`stack: ga 9.1`
130122

123+
See [oversampling and rescoring quantized vectors](docs-content://solutions/search/vector/knn.md#dense-vector-knn-search-rescoring) for details.
131124

125+
::::{note}
126+
Rescoring only makes sense for [quantized](/reference/elasticsearch/mapping-reference/dense-vector.md#dense-vector-quantization) vectors. The `rescore_vector` option will be ignored for non-quantized `dense_vector` fields, because the original vectors are used for scoring.
127+
::::
132128

133129
## Pre-filters and post-filters in knn query [knn-query-filtering]
134130

muted-tests.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,15 @@ tests:
636636
- class: org.elasticsearch.xpack.esql.qa.multi_node.EsqlClientYamlIT
637637
method: test {p0=esql/60_usage/Basic ESQL usage output (telemetry) non-snapshot version}
638638
issue: https://github.com/elastic/elasticsearch/issues/133461
639+
- class: org.elasticsearch.xpack.esql.action.TimeSeriesRateIT
640+
method: testRateWithTimeBucketAndClusterMultipleMetricsByMin
641+
issue: https://github.com/elastic/elasticsearch/issues/133478
642+
- class: org.elasticsearch.xpack.esql.action.LookupJoinTypesIT
643+
method: testLookupJoinOthers
644+
issue: https://github.com/elastic/elasticsearch/issues/133480
645+
- class: org.elasticsearch.xpack.esql.action.CrossClusterAsyncQueryStopIT
646+
method: testStopQueryLocal
647+
issue: https://github.com/elastic/elasticsearch/issues/133481
639648

640649
# Examples:
641650
#

server/src/internalClusterTest/java/org/elasticsearch/action/admin/cluster/stats/ClusterStatsRemoteIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ public void testRemoteClusterStats() throws ExecutionException, InterruptedExcep
9797
assertThat(remoteStats.get(clusterAlias).clusterUUID(), not(equalTo("")));
9898
assertThat(remoteStats.get(clusterAlias).mode(), oneOf("sniff", "proxy"));
9999
}
100-
assertFalse(remoteStats.get(REMOTE1).skipUnavailable());
101-
assertTrue(remoteStats.get(REMOTE2).skipUnavailable());
100+
assertFalse(remoteStats.get(REMOTE1).skipUnavailable().get());
101+
assertTrue(remoteStats.get(REMOTE2).skipUnavailable().get());
102102
}
103103

104104
private void setupClusters() {

0 commit comments

Comments
 (0)