Skip to content

Commit

Permalink
Remove outdated default index mapping error message
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: opensearch-project#7007

Signed-off-by: Lukáš Vlček <[email protected]>
  • Loading branch information
lukas-vlcek committed Apr 5, 2023
1 parent 65d9d02 commit 778579c
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,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 778579c

Please sign in to comment.