diff --git a/server/src/main/java/org/elasticsearch/search/lookup/LeafDocLookup.java b/server/src/main/java/org/elasticsearch/search/lookup/LeafDocLookup.java index 4c85217c80d..3d5066625fe 100644 --- a/server/src/main/java/org/elasticsearch/search/lookup/LeafDocLookup.java +++ b/server/src/main/java/org/elasticsearch/search/lookup/LeafDocLookup.java @@ -70,10 +70,6 @@ public class LeafDocLookup implements Map> { return this.mapperService; } - public IndexFieldData getForField(MappedFieldType fieldType) { - return fieldDataLookup.apply(fieldType); - } - public void setDocument(int docId) { this.docId = docId; }