Skip to content

Commit 53b2cb5

Browse files
committed
Bump template version
1 parent 757dd4e commit 53b2cb5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MlIndexTemplateRegistry.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ public class MlIndexTemplateRegistry extends IndexTemplateRegistry {
4040
* the state index has no mappings - its template basically just says
4141
* this - hence there's no mappings version for the state index. Please
4242
* add a comment with a reason each time the base number is incremented.
43-
* 10000001: TODO - reason
43+
*
44+
* 10000001: ".reindexed-v7-ml-anomalies-*" added to ml-anomalies index pattern
4445
*/
45-
public static final int ML_INDEX_TEMPLATE_VERSION = 10000000 + AnomalyDetectorsIndex.RESULTS_INDEX_MAPPINGS_VERSION
46+
public static final int ML_INDEX_TEMPLATE_VERSION = 10000001 + AnomalyDetectorsIndex.RESULTS_INDEX_MAPPINGS_VERSION
4647
+ NotificationsIndex.NOTIFICATIONS_INDEX_MAPPINGS_VERSION + MlStatsIndex.STATS_INDEX_MAPPINGS_VERSION
4748
+ NotificationsIndex.NOTIFICATIONS_INDEX_TEMPLATE_VERSION;
4849

0 commit comments

Comments
 (0)