Skip to content

Commit

Permalink
Merge branch 'main' into version/node-metadata-checks
Browse files Browse the repository at this point in the history
  • Loading branch information
williamrandolph committed Sep 28, 2023
2 parents 877fc75 + 8f3d374 commit dae202e
Show file tree
Hide file tree
Showing 278 changed files with 5,136 additions and 1,426 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ private static Page page(String operation) {
case "mv_min", "mv_min_ascending" -> {
var builder = LongBlock.newBlockBuilder(BLOCK_LENGTH);
if (operation.endsWith("ascending")) {
builder.mvOrdering(Block.MvOrdering.ASCENDING);
builder.mvOrdering(Block.MvOrdering.DEDUPLICATED_AND_SORTED_ASCENDING);
}
for (int i = 0; i < BLOCK_LENGTH; i++) {
builder.beginPositionEntry();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import org.elasticsearch.common.settings.ClusterSettings;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.compute.data.Block;
import org.elasticsearch.compute.data.BlockFactory;
import org.elasticsearch.compute.data.BooleanBlock;
import org.elasticsearch.compute.data.BytesRefBlock;
import org.elasticsearch.compute.data.DoubleBlock;
Expand Down Expand Up @@ -107,6 +108,7 @@ private static Operator operator(String data, int topCount) {
ClusterSettings.createBuiltInClusterSettings()
);
return new TopNOperator(
BlockFactory.getNonBreakingInstance(),
breakerService.getBreaker(CircuitBreaker.REQUEST),
topCount,
elementTypes,
Expand Down
6 changes: 6 additions & 0 deletions docs/changelog/99566.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 99566
summary: Add additional counters to `_clusters` response for all Cluster search states
area: Search
type: enhancement
issues:
- 98927
5 changes: 5 additions & 0 deletions docs/changelog/99584.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 99584
summary: Adding an option for trained models to be platform specific
area: Machine Learning
type: enhancement
issues: []
6 changes: 6 additions & 0 deletions docs/changelog/99775.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 99775
summary: Adding support for exist queries to `sparse_vector` fields
area: Search
type: enhancement
issues:
- 99319
5 changes: 5 additions & 0 deletions docs/changelog/99947.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 99947
summary: GET `_data_stream` displays both ILM and DSL information
area: Data streams
type: feature
issues: []
6 changes: 6 additions & 0 deletions docs/changelog/99995.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 99995
summary: When a primary is inactive but this is considered expected, the same applies for the replica of this shard.
area: Health
type: enhancement
issues:
- 99951
Original file line number Diff line number Diff line change
Expand Up @@ -573,15 +573,21 @@ stream's oldest backing index.
"indices": [
{
"index_name": ".ds-my-data-stream-2099.03.07-000001", <1>
"index_uuid": "Gpdiyq8sRuK9WuthvAdFbw"
"index_uuid": "Gpdiyq8sRuK9WuthvAdFbw",
"prefer_ilm": true,
"managed_by": "Unmanaged"
},
{
"index_name": ".ds-my-data-stream-2099.03.08-000002",
"index_uuid": "_eEfRrFHS9OyhqWntkgHAQ"
"index_uuid": "_eEfRrFHS9OyhqWntkgHAQ",
"prefer_ilm": true,
"managed_by": "Unmanaged"
}
],
"generation": 2,
"status": "GREEN",
"next_generation_managed_by": "Unmanaged",
"prefer_ilm": true,
"template": "my-data-stream-template",
"hidden": false,
"system": false,
Expand Down
6 changes: 5 additions & 1 deletion docs/reference/data-streams/downsampling-manual.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -358,11 +358,15 @@ This returns:
"indices": [
{
"index_name": ".ds-my-data-stream-2023.07.26-000001", <1>
"index_uuid": "ltOJGmqgTVm4T-Buoe7Acg"
"index_uuid": "ltOJGmqgTVm4T-Buoe7Acg",
"prefer_ilm": true,
"managed_by": "Data stream lifecycle"
}
],
"generation": 1,
"status": "GREEN",
"next_generation_managed_by": "Data stream lifecycle",
"prefer_ilm": true,
"template": "my-data-stream-template",
"hidden": false,
"system": false,
Expand Down
Binary file modified docs/reference/images/index-mgmt/management_index_details.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 17 additions & 4 deletions docs/reference/indices/get-data-stream.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ cluster can not write into this data stream or change its mappings.
`lifecycle`::
(object)
Functionality in preview:[]. Contains the configuration for the data stream lifecycle management of this data stream.
Contains the configuration for the data stream lifecycle management of this data stream.
+
.Properties of `lifecycle`
[%collapsible%open]
Expand Down Expand Up @@ -265,18 +265,26 @@ The API returns the following response:
"indices": [
{
"index_name": ".ds-my-data-stream-2099.03.07-000001",
"index_uuid": "xCEhwsp8Tey0-FLNFYVwSg"
"index_uuid": "xCEhwsp8Tey0-FLNFYVwSg",
"prefer_ilm": true,
"ilm_policy": "my-lifecycle-policy",
"managed_by": "Index Lifecycle Management"
},
{
"index_name": ".ds-my-data-stream-2099.03.08-000002",
"index_uuid": "PA_JquKGSiKcAKBA8DJ5gw"
"index_uuid": "PA_JquKGSiKcAKBA8DJ5gw",
"prefer_ilm": true,
"ilm_policy": "my-lifecycle-policy",
"managed_by": "Index Lifecycle Management"
}
],
"generation": 2,
"_meta": {
"my-meta-field": "foo"
},
"status": "GREEN",
"next_generation_managed_by": "Index Lifecycle Management",
"prefer_ilm": true,
"template": "my-index-template",
"ilm_policy": "my-lifecycle-policy",
"hidden": false,
Expand All @@ -292,14 +300,19 @@ The API returns the following response:
"indices": [
{
"index_name": ".ds-my-data-stream-two-2099.03.08-000001",
"index_uuid": "3liBu2SYS5axasRt6fUIpA"
"index_uuid": "3liBu2SYS5axasRt6fUIpA",
"prefer_ilm": true,
"ilm_policy": "my-lifecycle-policy",
"managed_by": "Index Lifecycle Management"
}
],
"generation": 1,
"_meta": {
"my-meta-field": "foo"
},
"status": "YELLOW",
"next_generation_managed_by": "Index Lifecycle Management",
"prefer_ilm": true,
"template": "my-index-template",
"ilm_policy": "my-lifecycle-policy",
"hidden": false,
Expand Down
6 changes: 3 additions & 3 deletions docs/reference/indices/index-mgmt.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ Badges indicate if an index is a <<ccr-put-follow,follower index>>, a
Clicking a badge narrows the list to only indices of that type.
You can also filter indices using the search bar.

You can drill down into each index to investigate the index
By clicking the index name, you can open an index details page to investigate the index
<<index-modules-settings,settings>>, <<mapping,mapping>>, and statistics.
From this view, you can also edit the index settings.
On this page, you can also edit the index settings.

To view and explore the documents within an index, click the compass icon image:compassicon.png[width=3%] next to the index name to open {kibana-ref}/discover.html[Discover].
To view and explore the documents within an index, click the *Discover index* button to open {kibana-ref}/discover.html[Discover].

[role="screenshot"]
image::images/index-mgmt/management_index_details.png[Index Management UI]
Expand Down
12 changes: 12 additions & 0 deletions docs/reference/ml/trained-models/apis/put-trained-models.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
= Create trained models API
[subs="attributes"]
++++
<titleabbrev>Create trained models</titleabbrev>
++++

Creates a trained model.
Expand Down Expand Up @@ -1645,6 +1647,16 @@ Appropriate types are:
* `pytorch`: The stored definition is a PyTorch (specifically a TorchScript) model. Currently only
NLP models are supported. For more information, refer to {ml-docs}/ml-nlp.html[{nlp-cap}].
--
`platform_architecture`::
(Optional, string)
If the model only works on one platform, because it is heavily
optimized for a particular processor architecture and OS combination,
then this field specifies which. The format of the string must match
the platform identifiers used by Elasticsearch, so one of, `linux-x86_64`,
`linux-aarch64`, `darwin-x86_64`, `darwin-aarch64`, or `windows-x86_64`.
For portable models (those that work independent of processor architecture or
OS features), leave this field unset.


`tags`::
(Optional, string)
Expand Down
19 changes: 19 additions & 0 deletions docs/reference/release-notes/8.9.2.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,25 @@

Also see <<breaking-changes-8.9,Breaking changes in 8.9>>.

[float]
[[security-updates-8.9.2]]
=== Security updates

* {es} generally filters out sensitive information and credentials before
logging to the audit log. It was found that this filtering was not applied when
requests to {es} use certain deprecated `_xpack/security` URIs for APIs. The
impact of this flaw is that sensitive information, such as passwords and tokens,
might be printed in cleartext in {es} audit logs. Note that audit logging is
disabled by default and needs to be explicitly enabled. Even when audit logging
is enabled, request bodies that could contain sensitive information are not
printed to the audit log unless explicitly configured.
+
The issue is resolved in {es} 8.9.2.
+
For more information, see our related
https://discuss.elastic.co/t/elasticsearch-8-9-2-and-7-17-13-security-update/342479[security
announcement].

[[bug-8.9.2]]
[float]
=== Bug fixes
Expand Down
Loading

0 comments on commit dae202e

Please sign in to comment.