cleanup
This commit is contained in:
parent
d0eed79175
commit
bb178c9c1a
|
@ -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};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue