public abstract class TransportSearchHelper extends Object
Modifier and Type | Method and Description |
---|---|
static String |
buildScrollId(SearchType searchType,
AtomicArray<? extends SearchPhaseResult> searchPhaseResults,
Map<String,String> attributes) |
static String |
buildScrollId(String type,
AtomicArray<? extends SearchPhaseResult> searchPhaseResults,
Map<String,String> attributes) |
static InternalScrollSearchRequest |
internalScrollSearchRequest(long id,
SearchScrollRequest request) |
static ShardSearchTransportRequest |
internalSearchRequest(ShardRouting shardRouting,
int numberOfShards,
SearchRequest request,
String[] filteringAliases,
long nowInMillis,
boolean useSlowScroll) |
static ParsedScrollId |
parseScrollId(String scrollId) |
public static ShardSearchTransportRequest internalSearchRequest(ShardRouting shardRouting, int numberOfShards, SearchRequest request, String[] filteringAliases, long nowInMillis, boolean useSlowScroll)
public static InternalScrollSearchRequest internalScrollSearchRequest(long id, SearchScrollRequest request)
public static String buildScrollId(SearchType searchType, AtomicArray<? extends SearchPhaseResult> searchPhaseResults, @Nullable Map<String,String> attributes) throws IOException
IOException
public static String buildScrollId(String type, AtomicArray<? extends SearchPhaseResult> searchPhaseResults, @Nullable Map<String,String> attributes) throws IOException
IOException
public static ParsedScrollId parseScrollId(String scrollId)
Copyright © 2009–2015. All rights reserved.