org.elasticsearch.search.fetch.version
Class VersionFetchSubPhase
java.lang.Object
org.elasticsearch.search.fetch.version.VersionFetchSubPhase
- All Implemented Interfaces:
- FetchSubPhase
public class VersionFetchSubPhase
- extends Object
- implements FetchSubPhase
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionFetchSubPhase
public VersionFetchSubPhase()
parseElements
public Map<String,? extends SearchParseElement> parseElements()
- Specified by:
parseElements
in interface FetchSubPhase
hitsExecutionNeeded
public boolean hitsExecutionNeeded(SearchContext context)
- Specified by:
hitsExecutionNeeded
in interface FetchSubPhase
hitsExecute
public void hitsExecute(SearchContext context,
InternalSearchHit[] hits)
throws ElasticSearchException
- Specified by:
hitsExecute
in interface FetchSubPhase
- Throws:
ElasticSearchException
hitExecutionNeeded
public boolean hitExecutionNeeded(SearchContext context)
- Specified by:
hitExecutionNeeded
in interface FetchSubPhase
hitExecute
public void hitExecute(SearchContext context,
FetchSubPhase.HitContext hitContext)
throws ElasticSearchException
- Description copied from interface:
FetchSubPhase
- Executes the hit level phase, with a reader and doc id (note, its a low level reader, and the matching doc).
- Specified by:
hitExecute
in interface FetchSubPhase
- Throws:
ElasticSearchException
Copyright © 2009-2012. All Rights Reserved.