org.elasticsearch.search.fetch.explain
Class ExplainSearchHitPhase

java.lang.Object
  extended by org.elasticsearch.search.fetch.explain.ExplainSearchHitPhase
All Implemented Interfaces:
SearchHitPhase

public class ExplainSearchHitPhase
extends java.lang.Object
implements SearchHitPhase


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.elasticsearch.search.fetch.SearchHitPhase
SearchHitPhase.HitContext
 
Constructor Summary
ExplainSearchHitPhase()
           
 
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExplainSearchHitPhase

public ExplainSearchHitPhase()
Method Detail

parseElements

public java.util.Map<java.lang.String,? extends SearchParseElement> parseElements()
Specified by:
parseElements in interface SearchHitPhase

executionNeeded

public boolean executionNeeded(SearchContext context)
Specified by:
executionNeeded in interface SearchHitPhase

execute

public void execute(SearchContext context,
                    SearchHitPhase.HitContext hitContext)
             throws ElasticSearchException
Description copied from interface: SearchHitPhase
Executes the hit level phase, with a reader and doc id (note, its a low level reader, and the matching doc).

Specified by:
execute in interface SearchHitPhase
Throws:
ElasticSearchException