All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.action.search.SearchScrollQueryThenFetchAsyncAction.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????3?Gcom/groupbyinc/flux/action/search/SearchScrollQueryThenFetchAsyncAction5com/groupbyinc/flux/action/search/AbstractAsyncAction*SearchScrollQueryThenFetchAsyncAction.javaIcom/groupbyinc/flux/action/search/SearchScrollQueryThenFetchAsyncAction$2Icom/groupbyinc/flux/action/search/SearchScrollQueryThenFetchAsyncAction$1;scrollId2Lcom/groupbyinc/flux/action/search/ParsedScrollId;nodes1Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;
shardFailures8Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray;pLcom/groupbyinc/flux/common/util/concurrent/AtomicArray;queryResultsnLcom/groupbyinc/flux/common/util/concurrent/AtomicArray;fetchResultsnLcom/groupbyinc/flux/common/util/concurrent/AtomicArray;sortedShardList;[Lcom/groupbyinc/flux/common/apache/lucene/search/ScoreDoc;
successfulOps+Ljava/util/concurrent/atomic/AtomicInteger;m(Lcom/groupbyinc/flux/common/logging/ESLogger;Lcom/groupbyinc/flux/cluster/ClusterService;Lcom/groupbyinc/flux/search/action/SearchServiceTransportAction;Lcom/groupbyinc/flux/search/controller/SearchPhaseController;Lcom/groupbyinc/flux/action/search/SearchScrollRequest;Lcom/groupbyinc/flux/action/search/ParsedScrollId;Lcom/groupbyinc/flux/action/ActionListener;)V()V)+
,	.	0	2	4	6	8*com/groupbyinc/flux/cluster/ClusterService:state,()Lcom/groupbyinc/flux/cluster/ClusterState;<=;>(com/groupbyinc/flux/cluster/ClusterState@3()Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;B
AC	E)java/util/concurrent/atomic/AtomicIntegerG0com/groupbyinc/flux/action/search/ParsedScrollIdI
getContext6()[Lcom/groupbyinc/flux/action/search/ScrollIdForNode;KL
JM(I)V)O
HP'(	R

P!	U#	WthisILcom/groupbyinc/flux/action/search/SearchScrollQueryThenFetchAsyncAction;clusterService,Lcom/groupbyinc/flux/cluster/ClusterService;buildShardFailures9()[Lcom/groupbyinc/flux/action/search/ShardSearchFailure;	_4com/groupbyinc/flux/action/search/ShardSearchFailureaEMPTY_ARRAY7[Lcom/groupbyinc/flux/action/search/ShardSearchFailure;cd	beasList()Ljava/util/List;gh

ijava/util/Listksize()Imnlodget(I)Ljava/lang/Object;rsltvalueLjava/lang/Object;vw	xiIentries?Ljava/util/List;>;Ljava/util/List;failuresaddShardFailure:(ILcom/groupbyinc/flux/action/search/ShardSearchFailure;)Vset(ILjava/lang/Object;)V??

?
shardIndexfailure6Lcom/groupbyinc/flux/action/search/ShardSearchFailure;startjava/lang/Throwable??com/groupbyinc/flux/action/search/SearchPhaseExecutionException?query?no nodes to search on?^(Ljava/lang/String;Ljava/lang/String;[Lcom/groupbyinc/flux/action/search/ShardSearchFailure;)V)?
??)com/groupbyinc/flux/action/ActionListener?	onFailure(Ljava/lang/Throwable;)V????4[Lcom/groupbyinc/flux/action/search/ScrollIdForNode;?1com/groupbyinc/flux/action/search/ScrollIdForNode?getNode()Ljava/lang/String;??
??/com/groupbyinc/flux/cluster/node/DiscoveryNodes?D(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;r?
??getScrollId()J??
??executeQueryPhase`(ILjava/util/concurrent/atomic/AtomicInteger;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;J)V??
?.com/groupbyinc/flux/cluster/node/DiscoveryNode?+com/groupbyinc/flux/common/logging/ESLogger?isDebugEnabled()Z????java/lang/StringBuilder?
?,Node [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??$] not available for scroll request [?	getSource??
J?]?toString??
??java/lang/Object?debug((Ljava/lang/String;[Ljava/lang/Object;)V????decrementAndGet?n
H?executeFetchPhase?+
?Fetch failed?s(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;[Lcom/groupbyinc/flux/action/search/ShardSearchFailure;)V)?
??eLjava/lang/Throwable;target3Lcom/groupbyinc/flux/action/search/ScrollIdForNode;node0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;countercontext7com/groupbyinc/flux/action/search/TransportSearchHelper?internalScrollSearchRequest{(JLcom/groupbyinc/flux/action/search/SearchScrollRequest;)Lcom/groupbyinc/flux/search/internal/InternalScrollSearchRequest;??
??y(Lcom/groupbyinc/flux/action/search/SearchScrollQueryThenFetchAsyncAction;ILjava/util/concurrent/atomic/AtomicInteger;J)V)?
	?>com/groupbyinc/flux/search/action/SearchServiceTransportAction?sendExecuteQuery?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/search/internal/InternalScrollSearchRequest;Lcom/groupbyinc/flux/action/ActionListener;)V??
??searchIdJinternalRequestALcom/groupbyinc/flux/search/internal/InternalScrollSearchRequest;onQueryPhaseFailureE(ILjava/util/concurrent/atomic/AtomicInteger;JLjava/lang/Throwable;)V"[{}] Failed to execute query phase?java/lang/Long?valueOf(J)Ljava/lang/Long;??
??=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V??)?
b??
rn
Hall shards failed
]^
tjava/lang/Exception;com/groupbyinc/flux/search/controller/SearchPhaseControllersortDocsv(ZLcom/groupbyinc/flux/common/util/concurrent/AtomicArray;)[Lcom/groupbyinc/flux/common/apache/lucene/search/ScoreDoc;
%&	lengthn

fillDocIdsToLoadv(Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray;[Lcom/groupbyinc/flux/common/apache/lucene/search/ScoreDoc;)V
isEmpty ?l!	finishHim#+
$getLastEmittedDocPerShardy([Lcom/groupbyinc/flux/common/apache/lucene/search/ScoreDoc;I)[Lcom/groupbyinc/flux/common/apache/lucene/search/ScoreDoc;&'
(iterator()Ljava/util/Iterator;*+l,&java/util/Iterator/hasNext1?02next()Ljava/lang/Object;45069com/groupbyinc/flux/common/carrotsearch/hppc/IntArrayList8index:{	;

t2com/groupbyinc/flux/search/query/QuerySearchResult>2com/groupbyinc/flux/search/fetch/ShardFetchRequest@idB?
?C?(Lcom/groupbyinc/flux/action/search/SearchScrollRequest;JLcom/groupbyinc/flux/common/carrotsearch/hppc/IntArrayList;Lcom/groupbyinc/flux/common/apache/lucene/search/ScoreDoc;)V)E
AFshardTarget0()Lcom/groupbyinc/flux/search/SearchShardTarget;HI
?J,com/groupbyinc/flux/search/SearchShardTargetLnodeIdN?
MO?(Lcom/groupbyinc/flux/action/search/SearchScrollQueryThenFetchAsyncAction;Lcom/groupbyinc/flux/search/query/QuerySearchResult;Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray$Entry;Ljava/util/concurrent/atomic/AtomicInteger;)V)Q
RsendExecuteFetchScroll?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/search/fetch/ShardFetchRequest;Lcom/groupbyinc/flux/action/ActionListener;)VTU
?VdocIds;Lcom/groupbyinc/flux/common/carrotsearch/hppc/IntArrayList;querySearchResult4Lcom/groupbyinc/flux/search/query/QuerySearchResult;lastEmittedDoc:Lcom/groupbyinc/flux/common/apache/lucene/search/ScoreDoc;shardFetchRequest4Lcom/groupbyinc/flux/search/fetch/ShardFetchRequest;entry{Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray$Entry;>Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray$Entry;docIdsToLoaduLcom/groupbyinc/flux/common/util/concurrent/AtomicArray;lastEmittedDocPerShardinnerFinishHimf+
g;)V
StackMapTable
Exceptions
SourceFileInnerClasses ?B? !?"#?$B%&'(
)*?g*?-*+?/*-?1*?3*?5*?7*?9*,???D?F*?HY?N??Q?S*?
Y?N??T?V*?
Y?N??T?X??RgYZgg[\ggggg?g?2=>	?@AB C&D3EDFUGfH??]^??@*?`??f?*?`?jL+?p?bM>,??,+?u??y?bS????,??*z{@YZ-|~#d?-|}?"KLNOP%Q8P>S??lq????w$*?`?*?
Y*?9?N??T?`*?`,???? $YZ$?{$???YZ\#]??+???*?9?N??*?7??Y???f??????HY*?9?N??QL*?9?NM>,???,2:*?F????:?*+?????y*?/???;*?/??Y?????????¶?*?9?Ŷ?Ƕ????̹?*?S??W+?Ӛ&*?֧:*?7??Y???f?۹?????Y??????H???H???V???=?z{?YZ3??(;????V`a"b#d3f;gChHiVj[kkmwn?p?q?s?w?t?u?v?g?{?##?H??-???CU???????
"*?5??:*?1-?	Y*,????>"YZ"?{"?("??"?????~!????-?*?/???*?/???Y!?S?*?bY??*?S??W,?ӚM*?S?	?!*?7??Y?*?
?۹??%*?֧:*?7??Y???f?۹??imp??>r???YZ??{??(??????2??$?2?:?A?K?i?m?p?r????$?DF??+??	?**?3*?V???
Y*?V??TL*?3+*??+?j?"?*?%?*?3*?*?V??)M?HY+?j?p?QN+?j?-:?3?u?7?:?y?9:*?V???<??"???$?,?F?P?U???,}???/*?ֱ??Z?,????/*?%???Z?,???/*?/???Z?,???/*?S???Z?,??	
	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy