diff --git a/core/src/main/java/org/elasticsearch/index/query/QueryParser.java b/core/src/main/java/org/elasticsearch/index/query/QueryParser.java index 222d3bd4963..c17b80460e3 100644 --- a/core/src/main/java/org/elasticsearch/index/query/QueryParser.java +++ b/core/src/main/java/org/elasticsearch/index/query/QueryParser.java @@ -38,11 +38,4 @@ public interface QueryParser { * @return the new QueryBuilder */ Optional fromXContent(QueryParseContext parseContext) throws IOException; - - /** - * @return an empty {@link QueryBuilder} instance for this parser that can be used for deserialization - */ - default QB getBuilderPrototype() { // TODO remove this when nothing implements it - throw new UnsupportedOperationException(); - } }