diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/search/fetch/FetchPhase.java b/modules/elasticsearch/src/main/java/org/elasticsearch/search/fetch/FetchPhase.java index f695e90abb3..3e489924fe8 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/search/fetch/FetchPhase.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/search/fetch/FetchPhase.java @@ -50,11 +50,8 @@ public class FetchPhase implements SearchPhase { private final SearchHitPhase[] hitPhases; - private final HighlightPhase highlightPhase; - @Inject public FetchPhase(HighlightPhase highlightPhase, ScriptFieldsSearchHitPhase scriptFieldsPhase, MatchedFiltersSearchHitPhase matchFiltersPhase, ExplainSearchHitPhase explainPhase) { - this.highlightPhase = highlightPhase; this.hitPhases = new SearchHitPhase[]{scriptFieldsPhase, matchFiltersPhase, explainPhase, highlightPhase}; }