Skip to content

Commit

Permalink
Remove outdated default index mapping error message (opensearch-proje…
Browse files Browse the repository at this point in the history
…ct#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>
  • Loading branch information
lukas-vlcek authored Sep 19, 2023
1 parent ed1c7ea commit 2f7969a
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 2f7969a

Please sign in to comment.