org.elasticsearch.action.search.type
Class TransportSearchCache

java.lang.Object
  extended by org.elasticsearch.action.search.type.TransportSearchCache

public class TransportSearchCache
extends Object


Constructor Summary
TransportSearchCache()
           
 
Method Summary
 Collection<DfsSearchResult> obtainDfsResults()
           
 Map<SearchShardTarget,FetchSearchResult> obtainFetchResults()
           
 Map<SearchShardTarget,QueryFetchSearchResult> obtainQueryFetchResults()
           
 Map<SearchShardTarget,QuerySearchResultProvider> obtainQueryResults()
           
 void releaseDfsResults(Collection<DfsSearchResult> dfsResults)
           
 void releaseFetchResults(Map<SearchShardTarget,FetchSearchResult> fetchResults)
           
 void releaseQueryFetchResults(Map<SearchShardTarget,QueryFetchSearchResult> fetchResults)
           
 void releaseQueryResults(Map<SearchShardTarget,QuerySearchResultProvider> queryResults)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportSearchCache

public TransportSearchCache()
Method Detail

obtainDfsResults

public Collection<DfsSearchResult> obtainDfsResults()

releaseDfsResults

public void releaseDfsResults(Collection<DfsSearchResult> dfsResults)

obtainQueryResults

public Map<SearchShardTarget,QuerySearchResultProvider> obtainQueryResults()

releaseQueryResults

public void releaseQueryResults(Map<SearchShardTarget,QuerySearchResultProvider> queryResults)

obtainFetchResults

public Map<SearchShardTarget,FetchSearchResult> obtainFetchResults()

releaseFetchResults

public void releaseFetchResults(Map<SearchShardTarget,FetchSearchResult> fetchResults)

obtainQueryFetchResults

public Map<SearchShardTarget,QueryFetchSearchResult> obtainQueryFetchResults()

releaseQueryFetchResults

public void releaseQueryFetchResults(Map<SearchShardTarget,QueryFetchSearchResult> fetchResults)


Copyright © 2009-2012. All Rights Reserved.