diff options
Diffstat (limited to 'core/src/main/java/org/elasticsearch/index/query/QueryRewriteContext.java')
-rw-r--r-- | core/src/main/java/org/elasticsearch/index/query/QueryRewriteContext.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/core/src/main/java/org/elasticsearch/index/query/QueryRewriteContext.java b/core/src/main/java/org/elasticsearch/index/query/QueryRewriteContext.java index 3fefb7141b..bf9474550d 100644 --- a/core/src/main/java/org/elasticsearch/index/query/QueryRewriteContext.java +++ b/core/src/main/java/org/elasticsearch/index/query/QueryRewriteContext.java @@ -95,13 +95,6 @@ public class QueryRewriteContext { return xContentRegistry; } - /** - * Returns a new {@link QueryParseContext} that wraps the provided parser. - */ - public QueryParseContext newParseContext(XContentParser parser) { - return new QueryParseContext(parser); - } - public long nowInMillis() { return nowInMillis.getAsLong(); } |