From f75e3b455141b152cd47a381ec056d3ea1b5f0a7 Mon Sep 17 00:00:00 2001 From: Julie Tibshirani Date: Wed, 15 Apr 2020 15:42:38 -0700 Subject: [PATCH] Remove an unused method on LeafDocLookup. --- .../java/org/elasticsearch/search/lookup/LeafDocLookup.java | 4 ---- 1 file changed, 4 deletions(-) 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 4c85217c80d75..3d5066625feac 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 MapperService mapperService() { return this.mapperService; } - public IndexFieldData getForField(MappedFieldType fieldType) { - return fieldDataLookup.apply(fieldType); - } - public void setDocument(int docId) { this.docId = docId; }