org.elasticsearch.search.controller
Class SearchPhaseController
java.lang.Object
org.elasticsearch.search.controller.SearchPhaseController
public class SearchPhaseController
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchPhaseController
public SearchPhaseController()
aggregateDfs
public AggregatedDfs aggregateDfs(java.lang.Iterable<DfsSearchResult> results)
sortDocs
public ShardDoc[] sortDocs(java.util.Collection<? extends QuerySearchResultProvider> results)
docIdsToLoad
public java.util.Map<SearchShardTarget,ExtTIntArrayList> docIdsToLoad(ShardDoc[] shardDocs)
merge
public InternalSearchResponse merge(ShardDoc[] sortedDocs,
java.util.Map<SearchShardTarget,? extends QuerySearchResultProvider> queryResults,
java.util.Map<SearchShardTarget,? extends FetchSearchResultProvider> fetchResults)