org.elasticsearch.action.search.type
Class TransportSearchHelper

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

public abstract class TransportSearchHelper
extends Object


Method Summary
static String buildScrollId(SearchType searchType, Collection<? extends SearchPhaseResult> searchPhaseResults, Map<String,String> attributes)
           
static String buildScrollId(String type, Collection<? extends SearchPhaseResult> searchPhaseResults, Map<String,String> attributes)
           
static InternalScrollSearchRequest internalScrollSearchRequest(long id, SearchScrollRequest request)
           
static InternalSearchRequest internalSearchRequest(ShardRouting shardRouting, int numberOfShards, SearchRequest request, String[] filteringAliases, long nowInMillis)
           
static ParsedScrollId parseScrollId(String scrollId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

internalSearchRequest

public static InternalSearchRequest internalSearchRequest(ShardRouting shardRouting,
                                                          int numberOfShards,
                                                          SearchRequest request,
                                                          String[] filteringAliases,
                                                          long nowInMillis)

internalScrollSearchRequest

public static InternalScrollSearchRequest internalScrollSearchRequest(long id,
                                                                      SearchScrollRequest request)

buildScrollId

public static String buildScrollId(SearchType searchType,
                                   Collection<? extends SearchPhaseResult> searchPhaseResults,
                                   @Nullable
                                   Map<String,String> attributes)
                            throws IOException
Throws:
IOException

buildScrollId

public static String buildScrollId(String type,
                                   Collection<? extends SearchPhaseResult> searchPhaseResults,
                                   @Nullable
                                   Map<String,String> attributes)
                            throws IOException
Throws:
IOException

parseScrollId

public static ParsedScrollId parseScrollId(String scrollId)


Copyright © 2009-2012. All Rights Reserved.