org.elasticsearch.action.search.type
Class TransportSearchHelper
java.lang.Object
org.elasticsearch.action.search.type.TransportSearchHelper
public abstract class TransportSearchHelper
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buildShardFailures
public static ShardSearchFailure[] buildShardFailures(java.util.Collection<ShardSearchFailure> shardFailures,
TransportSearchCache searchCache)
- Builds the shard failures, and releases the cache (meaning this should only be called once!).
internalSearchRequest
public static InternalSearchRequest internalSearchRequest(ShardRouting shardRouting,
int numberOfShards,
SearchRequest request)
internalScrollSearchRequest
public static InternalScrollSearchRequest internalScrollSearchRequest(long id,
SearchScrollRequest request)
buildScrollId
public static java.lang.String buildScrollId(SearchType searchType,
java.lang.Iterable<? extends SearchPhaseResult> searchPhaseResults)
buildScrollId
public static java.lang.String buildScrollId(java.lang.String type,
java.lang.Iterable<? extends SearchPhaseResult> searchPhaseResults)
parseScrollId
public static ParsedScrollId parseScrollId(java.lang.String scrollId)