diff --git a/server/src/main/java/org/elasticsearch/search/lookup/SourceLookup.java b/server/src/main/java/org/elasticsearch/search/lookup/SourceLookup.java index 4cc44747d0f..aa4a641d98e 100644 --- a/server/src/main/java/org/elasticsearch/search/lookup/SourceLookup.java +++ b/server/src/main/java/org/elasticsearch/search/lookup/SourceLookup.java @@ -132,10 +132,6 @@ public class SourceLookup implements Map { return context.getFilter().apply(loadSourceIfNeeded()); } - public Object extractValue(String path) { - return XContentMapValues.extractValue(path, loadSourceIfNeeded()); - } - @Override public Object get(Object key) { return loadSourceIfNeeded().get(key);