org.elasticsearch.search.fetch
Interface SearchHitPhase
- All Known Implementing Classes:
- ExplainSearchHitPhase, HighlightPhase, MatchedFiltersSearchHitPhase, ScriptFieldsSearchHitPhase, VersionSearchHitPhase
public interface SearchHitPhase
parseElements
java.util.Map<java.lang.String,? extends SearchParseElement> parseElements()
executionNeeded
boolean executionNeeded(SearchContext context)
execute
void execute(SearchContext context,
SearchHitPhase.HitContext hitContext)
throws ElasticSearchException
- Executes the hit level phase, with a reader and doc id (note, its a low level reader, and the matching doc).
- Throws:
ElasticSearchException