Skip to content

Commit 39faaf4

Browse files
Lukáš Vlčekvikasvb90
authored andcommitted
Remove outdated default index mapping error message (opensearch-project#7008)
This error message is no longer relevant and should not be used now. Closes: opensearch-project#7007 Signed-off-by: Lukáš Vlček <lukas.vlcek@aiven.io>
1 parent c1dc044 commit 39faaf4

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

server/src/main/java/org/opensearch/index/mapper/MapperService.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,6 @@ public enum MergeReason {
172172
);
173173

174174
private static final DeprecationLogger deprecationLogger = DeprecationLogger.getLogger(MapperService.class);
175-
static final String DEFAULT_MAPPING_ERROR_MESSAGE = "[_default_] mappings are not allowed on new indices and should no "
176-
+ "longer be used. See [https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes-7.0.html"
177-
+ "#default-mapping-not-allowed] for more information.";
178175

179176
private final IndexAnalyzers indexAnalyzers;
180177

0 commit comments

Comments
 (0)