Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/changelog/138097.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 138097
summary: Bump anomalies index template version
area: Machine Learning
type: bug
issues: []
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ public class MlIndexTemplateRegistry extends IndexTemplateRegistry {
* the state index has no mappings - its template basically just says
* this - hence there's no mappings version for the state index. Please
* add a comment with a reason each time the base number is incremented.
* 10000001: TODO - reason
*
* 10000001: ".reindexed-v7-ml-anomalies-*" added to ml-anomalies index pattern
*/
public static final int ML_INDEX_TEMPLATE_VERSION = 10000000 + AnomalyDetectorsIndex.RESULTS_INDEX_MAPPINGS_VERSION
public static final int ML_INDEX_TEMPLATE_VERSION = 10000001 + AnomalyDetectorsIndex.RESULTS_INDEX_MAPPINGS_VERSION
+ NotificationsIndex.NOTIFICATIONS_INDEX_MAPPINGS_VERSION + MlStatsIndex.STATS_INDEX_MAPPINGS_VERSION
+ NotificationsIndex.NOTIFICATIONS_INDEX_TEMPLATE_VERSION;

Expand Down