com.groupbyinc.flux.action.search.SearchTransportService.class Maven / Gradle / Ivy
???? 4 8com/groupbyinc/flux/action/search/SearchTransportService 6com/groupbyinc/flux/common/component/AbstractComponent SearchTransportService.java Rcom/groupbyinc/flux/action/search/SearchTransportService$ConnectionCountingHandler ConnectionCountingHandler Icom/groupbyinc/flux/action/search/SearchTransportService$CanMatchResponse CanMatchResponse Rcom/groupbyinc/flux/action/search/SearchTransportService$SearchFreeContextResponse SearchFreeContextResponse Qcom/groupbyinc/flux/action/search/SearchTransportService$SearchFreeContextRequest SearchFreeContextRequest Qcom/groupbyinc/flux/action/search/SearchTransportService$ScrollFreeContextRequest ScrollFreeContextRequest ;com/groupbyinc/flux/action/search/SearchTransportService$12 ;com/groupbyinc/flux/action/search/SearchTransportService$11 ;com/groupbyinc/flux/action/search/SearchTransportService$10 :com/groupbyinc/flux/action/search/SearchTransportService$9 :com/groupbyinc/flux/action/search/SearchTransportService$8 :com/groupbyinc/flux/action/search/SearchTransportService$7 :com/groupbyinc/flux/action/search/SearchTransportService$6 ! :com/groupbyinc/flux/action/search/SearchTransportService$5 # :com/groupbyinc/flux/action/search/SearchTransportService$4 % :com/groupbyinc/flux/action/search/SearchTransportService$3 ' :com/groupbyinc/flux/action/search/SearchTransportService$2 ) :com/groupbyinc/flux/action/search/SearchTransportService$1 + 2com/groupbyinc/flux/transport/Transport$Connection - 'com/groupbyinc/flux/transport/Transport /
Connection 4com/groupbyinc/flux/transport/TransportRequest$Empty 2 .com/groupbyinc/flux/transport/TransportRequest 4 Empty 5com/groupbyinc/flux/transport/TransportResponse$Empty 7 /com/groupbyinc/flux/transport/TransportResponse 9 /com/groupbyinc/flux/threadpool/ThreadPool$Names ; )com/groupbyinc/flux/threadpool/ThreadPool = Names %java/lang/invoke/MethodHandles$Lookup @ java/lang/invoke/MethodHandles B Lookup FREE_CONTEXT_SCROLL_ACTION_NAME Ljava/lang/String; -indices:data/read/search[free_context/scroll] G FREE_CONTEXT_ACTION_NAME &indices:data/read/search[free_context] J !CLEAR_SCROLL_CONTEXTS_ACTION_NAME /indices:data/read/search[clear_scroll_contexts] M DFS_ACTION_NAME #indices:data/read/search[phase/dfs] P QUERY_ACTION_NAME %indices:data/read/search[phase/query] S QUERY_ID_ACTION_NAME (indices:data/read/search[phase/query/id] V QUERY_SCROLL_ACTION_NAME ,indices:data/read/search[phase/query/scroll] Y QUERY_FETCH_SCROLL_ACTION_NAME 2indices:data/read/search[phase/query+fetch/scroll] \ FETCH_ID_SCROLL_ACTION_NAME /indices:data/read/search[phase/fetch/id/scroll] _ FETCH_ID_ACTION_NAME (indices:data/read/search[phase/fetch/id] b QUERY_CAN_MATCH_NAME #indices:data/read/search[can_match] e transportService 0Lcom/groupbyinc/flux/transport/TransportService; responseWrapper Ljava/util/function/BiFunction; ?Ljava/util/function/BiFunction; clientConnections Ljava/util/Map; 3Ljava/util/Map; ?(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/transport/TransportService;Ljava/util/function/BiFunction;)V 1(Lcom/groupbyinc/flux/common/settings/Settings;)V o q
r @com/groupbyinc/flux/common/util/concurrent/ConcurrentCollections t )newConcurrentMapWithAggressiveConcurrency &()Ljava/util/concurrent/ConcurrentMap; v w
u x l m z g h | i j ~ this :Lcom/groupbyinc/flux/action/search/SearchTransportService; settings .Lcom/groupbyinc/flux/common/settings/Settings; sendFreeContext d(Lcom/groupbyinc/flux/transport/Transport$Connection;JLcom/groupbyinc/flux/action/OriginalIndices;)V 0(Lcom/groupbyinc/flux/action/OriginalIndices;J)V o ?
? 5com/groupbyinc/flux/transport/TransportRequestOptions ? EMPTY 7Lcom/groupbyinc/flux/transport/TransportRequestOptions; ? ? ? ? 8com/groupbyinc/flux/action/ActionListenerResponseHandler ? =(Lcom/groupbyinc/flux/action/search/SearchTransportService;)V o ?
, ? "java/lang/invoke/LambdaMetafactory ? metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; ? ?
? ? ? ()Ljava/lang/Object; ? ()V o ?
? ? V()Lcom/groupbyinc/flux/action/search/SearchTransportService$SearchFreeContextResponse; ? get ()Ljava/util/function/Supplier; ? ? ? K(Lcom/groupbyinc/flux/action/ActionListener;Ljava/util/function/Supplier;)V o ?
? ? .com/groupbyinc/flux/transport/TransportService ? sendRequest ?(Lcom/groupbyinc/flux/transport/Transport$Connection;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportRequest;Lcom/groupbyinc/flux/transport/TransportRequestOptions;Lcom/groupbyinc/flux/transport/TransportResponseHandler;)V ? ?
? ?
connection 4Lcom/groupbyinc/flux/transport/Transport$Connection; contextId J originalIndices ,Lcom/groupbyinc/flux/action/OriginalIndices; c(Lcom/groupbyinc/flux/transport/Transport$Connection;JLcom/groupbyinc/flux/action/ActionListener;)V (J)V o ?
? listener ?Lcom/groupbyinc/flux/action/ActionListener; +Lcom/groupbyinc/flux/action/ActionListener; sendCanMatch ?(Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/search/internal/ShardSearchTransportRequest;Lcom/groupbyinc/flux/action/search/SearchTask;Lcom/groupbyinc/flux/action/ActionListener;)V getNode 2()Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; ? ? . ? .com/groupbyinc/flux/cluster/node/DiscoveryNode ?
getVersion ()Lcom/groupbyinc/flux/Version; ? ?
? ? com/groupbyinc/flux/Version ? V_5_6_0 Lcom/groupbyinc/flux/Version; ? ? ? ? onOrAfter (Lcom/groupbyinc/flux/Version;)Z ? ?
? ?
? ? M()Lcom/groupbyinc/flux/action/search/SearchTransportService$CanMatchResponse; ? ? sendChildRequest(Lcom/groupbyinc/flux/transport/Transport$Connection;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportRequest;Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/transport/TransportRequestOptions;Lcom/groupbyinc/flux/transport/TransportResponseHandler;)V ? ?
? ? "java/lang/IllegalArgumentException ? +can_match is not supported on pre 5.6 nodes ? (Ljava/lang/String;)V o ?
? ? request ALcom/groupbyinc/flux/search/internal/ShardSearchTransportRequest; task .Lcom/groupbyinc/flux/action/search/SearchTask; xLcom/groupbyinc/flux/action/ActionListener; sendClearAllScrollContexts b(Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/action/ActionListener;)V INSTANCE 6Lcom/groupbyinc/flux/transport/TransportRequest$Empty; ? ? 3 ? #lambda$sendClearAllScrollContexts$0 9()Lcom/groupbyinc/flux/transport/TransportResponse$Empty; ? ?
? ? ? ? ^Lcom/groupbyinc/flux/action/ActionListener; sendExecuteDfs ?(Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/search/internal/ShardSearchTransportRequest;Lcom/groupbyinc/flux/action/search/SearchTask;Lcom/groupbyinc/flux/action/search/SearchActionListener;)V .com/groupbyinc/flux/search/dfs/DfsSearchResult ?
? ? ? 2()Lcom/groupbyinc/flux/search/dfs/DfsSearchResult; ? ? getId ()Ljava/lang/String; ?
? ?(Lcom/groupbyinc/flux/action/search/SearchTransportService;Lcom/groupbyinc/flux/action/ActionListener;Ljava/util/function/Supplier;Ljava/util/Map;Ljava/lang/String;)V o
?(Lcom/groupbyinc/flux/transport/Transport$Connection;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportRequest;Lcom/groupbyinc/flux/tasks/Task;Lcom/groupbyinc/flux/transport/TransportResponseHandler;)V ?
? jLcom/groupbyinc/flux/action/search/SearchActionListener; 8Lcom/groupbyinc/flux/action/search/SearchActionListener; sendExecuteQuery ?com/groupbyinc/flux/search/internal/ShardSearchTransportRequest numberOfShards ()I
7com/groupbyinc/flux/search/fetch/QueryFetchSearchResult
? 0()Lcom/groupbyinc/flux/search/SearchPhaseResult; ? 2com/groupbyinc/flux/search/query/QuerySearchResult
? ? java/util/function/Supplier java/util/function/BiFunction apply 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"#!$ )com/groupbyinc/flux/action/ActionListener& hLcom/groupbyinc/flux/action/search/SearchActionListener; fetchDocuments Z supplier MLjava/util/function/Supplier; Ljava/util/function/Supplier; handler ?(Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/search/query/QuerySearchRequest;Lcom/groupbyinc/flux/action/search/SearchTask;Lcom/groupbyinc/flux/action/search/SearchActionListener;)V 6()Lcom/groupbyinc/flux/search/query/QuerySearchResult;0 ? 5Lcom/groupbyinc/flux/search/query/QuerySearchRequest; nLcom/groupbyinc/flux/action/search/SearchActionListener; sendExecuteScrollQuery ?(Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/search/internal/InternalScrollSearchRequest;Lcom/groupbyinc/flux/action/search/SearchTask;Lcom/groupbyinc/flux/action/search/SearchActionListener;)V 8com/groupbyinc/flux/search/query/ScrollQuerySearchResult7
8 ?9 <()Lcom/groupbyinc/flux/search/query/ScrollQuerySearchResult;; ? ALcom/groupbyinc/flux/search/internal/InternalScrollSearchRequest; tLcom/groupbyinc/flux/action/search/SearchActionListener; sendExecuteScrollFetch =com/groupbyinc/flux/search/fetch/ScrollQueryFetchSearchResultA
B ?C A()Lcom/groupbyinc/flux/search/fetch/ScrollQueryFetchSearchResult;E ? yLcom/groupbyinc/flux/action/search/SearchActionListener; sendExecuteFetch ?(Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/search/fetch/ShardFetchSearchRequest;Lcom/groupbyinc/flux/action/search/SearchTask;Lcom/groupbyinc/flux/action/search/SearchActionListener;)V ?(Lcom/groupbyinc/flux/transport/Transport$Connection;Ljava/lang/String;Lcom/groupbyinc/flux/search/fetch/ShardFetchRequest;Lcom/groupbyinc/flux/action/search/SearchTask;Lcom/groupbyinc/flux/action/search/SearchActionListener;)VIK
L :Lcom/groupbyinc/flux/search/fetch/ShardFetchSearchRequest; nLcom/groupbyinc/flux/action/search/SearchActionListener; sendExecuteFetchScroll ?(Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/search/fetch/ShardFetchRequest;Lcom/groupbyinc/flux/action/search/SearchTask;Lcom/groupbyinc/flux/action/search/SearchActionListener;)V 4Lcom/groupbyinc/flux/search/fetch/ShardFetchRequest; 2com/groupbyinc/flux/search/fetch/FetchSearchResultS
T ?U 6()Lcom/groupbyinc/flux/search/fetch/FetchSearchResult;W ? action sendExecuteMultiSearch ?(Lcom/groupbyinc/flux/action/search/MultiSearchRequest;Lcom/groupbyinc/flux/action/search/SearchTask;Lcom/groupbyinc/flux/action/ActionListener;)V getLocalNode] ?
?^
getConnection f(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)Lcom/groupbyinc/flux/transport/Transport$Connection;`a
?b indices:data/read/msearchd 5com/groupbyinc/flux/action/search/MultiSearchResponsef
g ?h 9()Lcom/groupbyinc/flux/action/search/MultiSearchResponse;j
? 6Lcom/groupbyinc/flux/action/search/MultiSearchRequest; dLcom/groupbyinc/flux/action/ActionListener; getRemoteClusterService 6()Lcom/groupbyinc/flux/transport/RemoteClusterService;op
?q getPendingSearchRequests ()Ljava/util/Map; java/util/HashMapu (Ljava/util/Map;)V ow
vx registerRequestHandler ](Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/search/SearchService;)V
?| U()Lcom/groupbyinc/flux/action/search/SearchTransportService$ScrollFreeContextRequest;~ ? same? -(Lcom/groupbyinc/flux/search/SearchService;)V o?
*? {(Ljava/lang/String;Ljava/util/function/Supplier;Ljava/lang/String;Lcom/groupbyinc/flux/transport/TransportRequestHandler;)Vz?
?? 3()Lcom/groupbyinc/flux/transport/TransportResponse;? ? 2com/groupbyinc/flux/transport/TransportActionProxy? registerProxyAction b(Lcom/groupbyinc/flux/transport/TransportService;Ljava/lang/String;Ljava/util/function/Supplier;)V??
??
?? U()Lcom/groupbyinc/flux/action/search/SearchTransportService$SearchFreeContextRequest;?
?
(? lambda$registerRequestHandler$1 8()Lcom/groupbyinc/flux/transport/TransportRequest$Empty;??
??? ?
&? lambda$registerRequestHandler$2??
?? ?
?? C()Lcom/groupbyinc/flux/search/internal/ShardSearchTransportRequest;? ?
$? ?
"? &(Ljava/lang/Object;)Ljava/lang/Object;? lambda$registerRequestHandler$3 O(Lcom/groupbyinc/flux/transport/TransportRequest;)Ljava/util/function/Supplier;??
??? ()Ljava/util/function/Function;"? ? b(Lcom/groupbyinc/flux/transport/TransportService;Ljava/lang/String;Ljava/util/function/Function;)V??
?? 3com/groupbyinc/flux/search/query/QuerySearchRequest?
? ?? 7()Lcom/groupbyinc/flux/search/query/QuerySearchRequest;? ? search?
? ? ?com/groupbyinc/flux/search/internal/InternalScrollSearchRequest?
? ?? C()Lcom/groupbyinc/flux/search/internal/InternalScrollSearchRequest;? ?
? ?
? ? 2com/groupbyinc/flux/search/fetch/ShardFetchRequest?
? ?? 6()Lcom/groupbyinc/flux/search/fetch/ShardFetchRequest;? ?
? ? 8com/groupbyinc/flux/search/fetch/ShardFetchSearchRequest?
? ?? <()Lcom/groupbyinc/flux/search/fetch/ShardFetchSearchRequest;? ?
? }(Ljava/lang/String;Ljava/util/function/Supplier;Ljava/lang/String;ZZLcom/groupbyinc/flux/transport/TransportRequestHandler;)Vz?
??
? ?
searchService *Lcom/groupbyinc/flux/search/SearchService; x(Ljava/lang/String;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)Lcom/groupbyinc/flux/transport/Transport$Connection; 2com/groupbyinc/flux/transport/RemoteClusterService? x(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Ljava/lang/String;)Lcom/groupbyinc/flux/transport/Transport$Connection;`?
?? clusterAlias node 0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode; 6com/groupbyinc/flux/search/internal/ShardSearchRequest?? ? 0Lcom/groupbyinc/flux/transport/TransportRequest; 7Lcom/groupbyinc/flux/transport/TransportResponse$Empty; ?? 8?
ConstantValue Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/transport/TransportService;Ljava/util/function/BiFunction;)V ?(Lcom/groupbyinc/flux/transport/Transport$Connection;JLcom/groupbyinc/flux/action/ActionListener;)V
StackMapTable(Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/search/internal/ShardSearchTransportRequest;Lcom/groupbyinc/flux/action/search/SearchTask;Lcom/groupbyinc/flux/action/ActionListener;)V ?(Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/action/ActionListener;)V(Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/search/internal/ShardSearchTransportRequest;Lcom/groupbyinc/flux/action/search/SearchTask;Lcom/groupbyinc/flux/action/search/SearchActionListener;)V(Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/search/internal/ShardSearchTransportRequest;Lcom/groupbyinc/flux/action/search/SearchTask;Lcom/groupbyinc/flux/action/search/SearchActionListener;)V(Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/search/query/QuerySearchRequest;Lcom/groupbyinc/flux/action/search/SearchTask;Lcom/groupbyinc/flux/action/search/SearchActionListener;)V(Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/search/internal/InternalScrollSearchRequest;Lcom/groupbyinc/flux/action/search/SearchTask;Lcom/groupbyinc/flux/action/search/SearchActionListener;)V(Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/search/internal/InternalScrollSearchRequest;Lcom/groupbyinc/flux/action/search/SearchTask;Lcom/groupbyinc/flux/action/search/SearchActionListener;)V
(Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/search/fetch/ShardFetchSearchRequest;Lcom/groupbyinc/flux/action/search/SearchTask;Lcom/groupbyinc/flux/action/search/SearchActionListener;)V(Lcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/search/fetch/ShardFetchRequest;Lcom/groupbyinc/flux/action/search/SearchTask;Lcom/groupbyinc/flux/action/search/SearchActionListener;)V(Lcom/groupbyinc/flux/transport/Transport$Connection;Ljava/lang/String;Lcom/groupbyinc/flux/search/fetch/ShardFetchRequest;Lcom/groupbyinc/flux/action/search/SearchTask;Lcom/groupbyinc/flux/action/search/SearchActionListener;)V ?(Lcom/groupbyinc/flux/action/search/MultiSearchRequest;Lcom/groupbyinc/flux/action/search/SearchTask;Lcom/groupbyinc/flux/action/ActionListener;)V 5()Ljava/util/Map; BootstrapMethods
SourceFile InnerClasses ! E F ? H I F ? K L F ? N O F ? Q R F ? T U F ? W X F ? Z [ F ? ] ^ F ? ` a F ? c d F ? f g h i j ? k l m ? n o p ? ? *+? s*? y? {*,? }*-? ? ? * ? ? ? ? g h i j ? i k ? \ X ] ^ _? ? ? ? x
,*? }+K? Y ? ?? ?? ?Y? ,Y*? ?? ? ? ?? ?? ? * , ? ? , ? ? , ? ? , ? ? ?
b + n ? ? ? ? $*? }+H? Y ? ?? ?? ?Y? ? ? ?? ?? ? * $ ? ? $ ? ? $ ? ? $ ? ? ? $ ? ? ?
q # s? ? ? ? ?
=+? ? ? Ȳ ζ ҙ #*? }+f,-? ?? ?Y? ? ? ?? ۧ
? ?Y߷ ⿱ ? 4 = ? ? = ? ? = ? ? = ? ? = ? ? ? = ? ? ? w x 2 ? <