org.elasticsearch.search.fetch
Interface FetchSubPhase
- All Known Implementing Classes:
- ExplainFetchSubPhase, HighlightPhase, MatchedFiltersFetchSubPhase, PartialFieldsFetchSubPhase, ScriptFieldsFetchSubPhase, VersionFetchSubPhase
public interface FetchSubPhase
parseElements
Map<String,? extends SearchParseElement> parseElements()
hitExecutionNeeded
boolean hitExecutionNeeded(SearchContext context)
hitExecute
void hitExecute(SearchContext context,
FetchSubPhase.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
hitsExecutionNeeded
boolean hitsExecutionNeeded(SearchContext context)
hitsExecute
void hitsExecute(SearchContext context,
InternalSearchHit[] hits)
throws ElasticSearchException
- Throws:
ElasticSearchException
Copyright © 2009-2012. All Rights Reserved.