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 bed3bb29f5a07..3135ea06f03cf 100644 --- a/server/src/main/java/org/opensearch/index/mapper/ConstantKeywordFieldMapper.java +++ b/server/src/main/java/org/opensearch/index/mapper/ConstantKeywordFieldMapper.java @@ -109,8 +109,6 @@ public String typeName() { @Override protected boolean matches(String searchValue, boolean caseInsensitive, QueryShardContext context) { - System.out.println(value); - return value.equals(searchValue); } @@ -146,7 +144,6 @@ public Query wildcardQuery( boolean caseInsensitve, QueryShardContext context ) { - System.out.println(("tes")); throw new QueryShardException( context, "Fields of type [" + typeName() + "], does not support wildcard queries"