Skip to content

Commit a45e49b

Browse files
author
elasticsearchmachine
committed
Merge remote-tracking branch 'origin/main' into lucene_snapshot
2 parents c5c9d43 + e96c755 commit a45e49b

File tree

143 files changed

+4767
-1656
lines changed

Some content is hidden

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

143 files changed

+4767
-1656
lines changed

.ci/dockerOnLinuxExclusions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ sles-15.2
1515
sles-15.3
1616
sles-15.4
1717
sles-15.5
18+
sles-15.6
1819

1920
# These OSes are deprecated and filtered starting with 8.0.0, but need to be excluded
2021
# for PR checks

docs/changelog/114964.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 114964
2+
summary: Add a `monitor_stats` privilege and allow that privilege for remote cluster
3+
privileges
4+
area: Authorization
5+
type: enhancement
6+
issues: []

docs/changelog/115744.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
pr: 115744
2+
summary: Use `SearchStats` instead of field.isAggregatable in data node planning
3+
area: ES|QL
4+
type: bug
5+
issues:
6+
- 115737

docs/changelog/116325.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 116325
2+
summary: Adjust analyze limit exception to be a `bad_request`
3+
area: Analysis
4+
type: bug
5+
issues: []

docs/changelog/116382.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 116382
2+
summary: Validate missing shards after the coordinator rewrite
3+
area: Search
4+
type: bug
5+
issues: []

docs/changelog/116478.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 116478
2+
summary: Semantic text simple partial update
3+
area: Search
4+
type: bug
5+
issues: []

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,11 @@ And the following may be the response:
127127

128128
==== Percentiles_bucket implementation
129129

130-
The Percentile Bucket returns the nearest input data point that is not greater than the requested percentile; it does not
131-
interpolate between data points.
132-
133130
The percentiles are calculated exactly and is not an approximation (unlike the Percentiles Metric). This means
134131
the implementation maintains an in-memory, sorted list of your data to compute the percentiles, before discarding the
135132
data. You may run into memory pressure issues if you attempt to calculate percentiles over many millions of
136133
data-points in a single `percentiles_bucket`.
134+
135+
The Percentile Bucket returns the nearest input data point to the requested percentile, rounding indices toward
136+
positive infinity; it does not interpolate between data points. For example, if there are eight data points and
137+
you request the `50%th` percentile, it will return the `4th` item because `ROUND_UP(.50 * (8-1))` is `4`.

docs/reference/how-to/knn-search.asciidoc

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,13 @@ least enough RAM to hold the vector data and index structures. To check the
7272
size of the vector data, you can use the <<indices-disk-usage>> API.
7373

7474
Here are estimates for different element types and quantization levels:
75-
+
76-
--
77-
`element_type: float`: `num_vectors * num_dimensions * 4`
78-
`element_type: float` with `quantization: int8`: `num_vectors * (num_dimensions + 4)`
79-
`element_type: float` with `quantization: int4`: `num_vectors * (num_dimensions/2 + 4)`
80-
`element_type: float` with `quantization: bbq`: `num_vectors * (num_dimensions/8 + 12)`
81-
`element_type: byte`: `num_vectors * num_dimensions`
82-
`element_type: bit`: `num_vectors * (num_dimensions/8)`
83-
--
75+
76+
* `element_type: float`: `num_vectors * num_dimensions * 4`
77+
* `element_type: float` with `quantization: int8`: `num_vectors * (num_dimensions + 4)`
78+
* `element_type: float` with `quantization: int4`: `num_vectors * (num_dimensions/2 + 4)`
79+
* `element_type: float` with `quantization: bbq`: `num_vectors * (num_dimensions/8 + 12)`
80+
* `element_type: byte`: `num_vectors * num_dimensions`
81+
* `element_type: bit`: `num_vectors * (num_dimensions/8)`
8482

8583
If utilizing HNSW, the graph must also be in memory, to estimate the required bytes use `num_vectors * 4 * HNSW.m`. The
8684
default value for `HNSW.m` is 16, so by default `num_vectors * 4 * 16`.

docs/reference/rest-api/security/bulk-create-roles.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ The result would then have the `errors` field set to `true` and hold the error f
327327
"details": {
328328
"my_admin_role": { <4>
329329
"type": "action_request_validation_exception",
330-
"reason": "Validation Failed: 1: unknown cluster privilege [bad_cluster_privilege]. a privilege must be either one of the predefined cluster privilege names [manage_own_api_key,manage_data_stream_global_retention,monitor_data_stream_global_retention,none,cancel_task,cross_cluster_replication,cross_cluster_search,delegate_pki,grant_api_key,manage_autoscaling,manage_index_templates,manage_logstash_pipelines,manage_oidc,manage_saml,manage_search_application,manage_search_query_rules,manage_search_synonyms,manage_service_account,manage_token,manage_user_profile,monitor_connector,monitor_enrich,monitor_inference,monitor_ml,monitor_rollup,monitor_snapshot,monitor_text_structure,monitor_watcher,post_behavioral_analytics_event,read_ccr,read_connector_secrets,read_fleet_secrets,read_ilm,read_pipeline,read_security,read_slm,transport_client,write_connector_secrets,write_fleet_secrets,create_snapshot,manage_behavioral_analytics,manage_ccr,manage_connector,manage_enrich,manage_ilm,manage_inference,manage_ml,manage_rollup,manage_slm,manage_watcher,monitor_data_frame_transforms,monitor_transform,manage_api_key,manage_ingest_pipelines,manage_pipeline,manage_data_frame_transforms,manage_transform,manage_security,monitor,manage,all] or a pattern over one of the available cluster actions;"
330+
"reason": "Validation Failed: 1: unknown cluster privilege [bad_cluster_privilege]. a privilege must be either one of the predefined cluster privilege names [manage_own_api_key,manage_data_stream_global_retention,monitor_data_stream_global_retention,none,cancel_task,cross_cluster_replication,cross_cluster_search,delegate_pki,grant_api_key,manage_autoscaling,manage_index_templates,manage_logstash_pipelines,manage_oidc,manage_saml,manage_search_application,manage_search_query_rules,manage_search_synonyms,manage_service_account,manage_token,manage_user_profile,monitor_connector,monitor_enrich,monitor_inference,monitor_ml,monitor_rollup,monitor_snapshot,monitor_stats,monitor_text_structure,monitor_watcher,post_behavioral_analytics_event,read_ccr,read_connector_secrets,read_fleet_secrets,read_ilm,read_pipeline,read_security,read_slm,transport_client,write_connector_secrets,write_fleet_secrets,create_snapshot,manage_behavioral_analytics,manage_ccr,manage_connector,manage_enrich,manage_ilm,manage_inference,manage_ml,manage_rollup,manage_slm,manage_watcher,monitor_data_frame_transforms,monitor_transform,manage_api_key,manage_ingest_pipelines,manage_pipeline,manage_data_frame_transforms,manage_transform,manage_security,monitor,manage,all] or a pattern over one of the available cluster actions;"
331331
}
332332
}
333333
}

docs/reference/rest-api/security/get-builtin-privileges.asciidoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ A successful call returns an object with "cluster", "index", and "remote_cluster
111111
"monitor_ml",
112112
"monitor_rollup",
113113
"monitor_snapshot",
114+
"monitor_stats",
114115
"monitor_text_structure",
115116
"monitor_transform",
116117
"monitor_watcher",
@@ -152,7 +153,8 @@ A successful call returns an object with "cluster", "index", and "remote_cluster
152153
"write"
153154
],
154155
"remote_cluster" : [
155-
"monitor_enrich"
156+
"monitor_enrich",
157+
"monitor_stats"
156158
]
157159
}
158160
--------------------------------------------------

0 commit comments

Comments
 (0)