diff --git a/libs/core/src/main/java/org/elasticsearch/core/UpdateForV9.java b/libs/core/src/main/java/org/elasticsearch/core/UpdateForV9.java index 0f9d41e6d187..00a704d82301 100644 --- a/libs/core/src/main/java/org/elasticsearch/core/UpdateForV9.java +++ b/libs/core/src/main/java/org/elasticsearch/core/UpdateForV9.java @@ -25,6 +25,7 @@ public @interface UpdateForV9 { CORE_INFRA, DATA_MANAGEMENT, DISTRIBUTED_INDEXING, + DOCS, ENTERPRISE_SEARCH, MACHINE_LEARNING, PROFILING, diff --git a/server/src/main/java/org/elasticsearch/common/ReferenceDocs.java b/server/src/main/java/org/elasticsearch/common/ReferenceDocs.java index 5f2b50705d62..fc45157c7b88 100644 --- a/server/src/main/java/org/elasticsearch/common/ReferenceDocs.java +++ b/server/src/main/java/org/elasticsearch/common/ReferenceDocs.java @@ -11,6 +11,7 @@ package org.elasticsearch.common; import org.elasticsearch.Build; import org.elasticsearch.core.SuppressForbidden; +import org.elasticsearch.core.UpdateForV9; import java.io.BufferedReader; import java.io.FileNotFoundException; @@ -27,6 +28,7 @@ import java.util.regex.Pattern; * {@link #toString()} yields (a string representation of) a URL for the relevant docs. Links are defined in the resource file * {@code reference-docs-links.txt} which must include definitions for exactly the set of values of this enum. */ +@UpdateForV9(owner = UpdateForV9.Owner.DOCS) // the docs are completely different in v9 so these links all need fixing public enum ReferenceDocs { /* * Note that the docs subsystem parses {@code reference-docs-links.txt} differently. See {@code sub check_elasticsearch_links} in