Skip to content

Commit

Permalink
Remove outdated default index mapping error message (#7008)
Browse files Browse the repository at this point in the history
This error message is no longer relevant and should not be used now.

Closes: #7007

Signed-off-by: Lukáš Vlček <[email protected]>
(cherry picked from commit 2f7969a)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Sep 19, 2023
1 parent ad9355f commit b314a0c
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,6 @@ public enum MergeReason {
);

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

private final IndexAnalyzers indexAnalyzers;

Expand Down

0 comments on commit b314a0c

Please sign in to comment.