diff --git a/server/src/main/java/org/opensearch/index/mapper/ConstantKeywordFieldMapper.java b/server/src/main/java/org/opensearch/index/mapper/ConstantKeywordFieldMapper.java index cafea3937310d..f4730c70362d1 100644 --- a/server/src/main/java/org/opensearch/index/mapper/ConstantKeywordFieldMapper.java +++ b/server/src/main/java/org/opensearch/index/mapper/ConstantKeywordFieldMapper.java @@ -98,7 +98,7 @@ public ConstantKeywordFieldMapper build(BuilderContext context) { * @opensearch.internal */ @PublicApi(since = "2.14.0") - static final class ConstantKeywordFieldType extends ConstantFieldType { + protected static final class ConstantKeywordFieldType extends ConstantFieldType { protected final String value;