You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/migration/migrate_9_0.asciidoc
+318Lines changed: 318 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,7 @@ Lucene 10 ships with an updated Korean dictionary (mecab-ko-dic-2.1.1). For det
73
73
The change is small and should generally provide better analysis results. Existing indices for full-text use cases should be reindexed though.
74
74
====
75
75
76
+
76
77
[discrete]
77
78
[[breaking_90_cluster_and_node_setting_changes]]
78
79
==== Cluster and node setting changes
@@ -318,3 +319,320 @@ The `elser` service of the inference API will be removed in an upcoming release.
318
319
In the current version there is no impact. In a future version, users of the `elser` service will no longer be able to use it, and will be required to use the `elasticsearch` service to access elser through the inference API.
319
320
====
320
321
322
+
[discrete]
323
+
[[breaking_90_anomaly_detection_results]]
324
+
=== Anomaly detection results migration
325
+
326
+
The {anomaly-detect} result indices `.ml-anomalies-*` created in {es} 7.x must be either reindexed, marked read-only, or deleted before upgrading to 9.x.
327
+
328
+
**Reindexing**: While anomaly detection results are being reindexed, jobs continue to run and process new data.
329
+
However, you cannot completely delete an {anomaly-job} that stores results in this index until the reindexing is complete.
330
+
331
+
**Marking indices as read-only**: This is useful for large indexes that contain the results of only one or a few {anomaly-jobs}.
332
+
If you delete these jobs later, you will not be able to create a new job with the same name.
333
+
334
+
**Deleting**: Delete jobs that are no longer needed in the {ml-app} in {kib}.
335
+
The result index is deleted when all jobs that store results in it have been deleted.
336
+
337
+
[[which_indices_require_attention]]
338
+
.Which indices require attention?
339
+
[%collapsible]
340
+
====
341
+
342
+
To identify indices that require action, use the <<migration-api-deprecation,Deprecation info API>>:
To accelerate the reindexing process, it is recommended that the number of replicas be set to `0` before the reindexing and then set back to the original number once it is completed.
Legacy indexes created in {es} 7.x can be made read-only and supported in {es} 9.x.
597
+
Making an index with a large amount of historical results read-only allows for a quick migration to the next major release, since you don't have to wait for the data to be reindexed into the new format.
598
+
However, it has the limitation that even after deleting an {anomaly-job}, the historical results associated with this job are not completely deleted.
599
+
Therefore, the system will prevent you from creating a new job with the same name.
600
+
601
+
To set the index as read-only, add the `write` block to the index:
0 commit comments