diff --git a/server/src/main/java/org/opensearch/index/mapper/DerivedFieldSupportedTypes.java b/server/src/main/java/org/opensearch/index/mapper/DerivedFieldSupportedTypes.java index c04a760ff7cf1..b39de5788d98a 100644 --- a/server/src/main/java/org/opensearch/index/mapper/DerivedFieldSupportedTypes.java +++ b/server/src/main/java/org/opensearch/index/mapper/DerivedFieldSupportedTypes.java @@ -31,7 +31,7 @@ import java.util.function.Function; import java.util.stream.Collectors; -public enum DerivedFieldSupportedTypes { +enum DerivedFieldSupportedTypes { BOOLEAN("boolean", (name, context) -> { BooleanFieldMapper.Builder builder = new BooleanFieldMapper.Builder(name);