Skip to content

Commit 673f204

Browse files
committed
removed unused code
1 parent 57f645f commit 673f204

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

server/src/main/java/org/elasticsearch/index/mapper/ConstantFieldType.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,4 @@ public final Query wildcardQuery(
122122
return new MatchNoDocsQuery();
123123
}
124124
}
125-
126-
public final String getConstantValue(FetchContext context) {
127-
try {
128-
return (String) valueFetcher(context.getSearchExecutionContext(), null).fetchValues(null, 0, List.of()).get(0);
129-
} catch (IOException e) {
130-
throw new RuntimeException(e);
131-
}
132-
}
133125
}

0 commit comments

Comments
 (0)