org.elasticsearch.search.fetch.explain
Class ExplainSearchHitPhase
java.lang.Object
org.elasticsearch.search.fetch.explain.ExplainSearchHitPhase
- All Implemented Interfaces:
- SearchHitPhase
public class ExplainSearchHitPhase
- extends java.lang.Object
- implements SearchHitPhase
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExplainSearchHitPhase
public ExplainSearchHitPhase()
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,
InternalSearchHit hit,
Uid uid,
org.apache.lucene.index.IndexReader reader,
int docId)
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