org.elasticsearch.search.fetch
Interface SearchHitPhase

All Known Implementing Classes:
ExplainSearchHitPhase, HighlightPhase, MatchedFiltersSearchHitPhase, ScriptFieldsSearchHitPhase, VersionSearchHitPhase

public interface SearchHitPhase


Nested Class Summary
static class SearchHitPhase.HitContext
           
 
Method Summary
 void execute(SearchContext context, SearchHitPhase.HitContext hitContext)
          Executes the hit level phase, with a reader and doc id (note, its a low level reader, and the matching doc).
 boolean executionNeeded(SearchContext context)
           
 java.util.Map<java.lang.String,? extends SearchParseElement> parseElements()
           
 

Method Detail

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