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

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

There is a newer version: 59
Show newest version
????3hDcom/groupbyinc/flux/action/search/SearchDfsQueryThenFetchAsyncActionoLcom/groupbyinc/flux/action/search/AbstractSearchAsyncAction;;com/groupbyinc/flux/action/search/AbstractSearchAsyncAction'SearchDfsQueryThenFetchAsyncAction.javaFcom/groupbyinc/flux/action/search/SearchDfsQueryThenFetchAsyncAction$3Fcom/groupbyinc/flux/action/search/SearchDfsQueryThenFetchAsyncAction$2	Fcom/groupbyinc/flux/action/search/SearchDfsQueryThenFetchAsyncAction$1;fetchResultsnLcom/groupbyinc/flux/common/util/concurrent/AtomicArray;docIdsToLoaduLcom/groupbyinc/flux/common/util/concurrent/AtomicArray;?(Lcom/groupbyinc/flux/common/logging/ESLogger;Lcom/groupbyinc/flux/search/action/SearchServiceTransportAction;Lcom/groupbyinc/flux/cluster/ClusterService;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;Lcom/groupbyinc/flux/search/controller/SearchPhaseController;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/action/search/SearchRequest;Lcom/groupbyinc/flux/action/ActionListener;)V
 firstResults"	#length()I%&
'(I)V)
*	,	.	0thisFLcom/groupbyinc/flux/action/search/SearchDfsQueryThenFetchAsyncAction;logger-Lcom/groupbyinc/flux/common/logging/ESLogger;
searchService@Lcom/groupbyinc/flux/search/action/SearchServiceTransportAction;clusterService,Lcom/groupbyinc/flux/cluster/ClusterService;indexNameExpressionResolverBLcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;searchPhaseController=Lcom/groupbyinc/flux/search/controller/SearchPhaseController;
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;request1Lcom/groupbyinc/flux/action/search/SearchRequest;listener_Lcom/groupbyinc/flux/action/ActionListener;+Lcom/groupbyinc/flux/action/ActionListener;firstPhaseName()Ljava/lang/String;dfsGsendExecuteFirstPhase?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/search/internal/ShardSearchTransportRequest;Lcom/groupbyinc/flux/action/ActionListener;)V67	K>com/groupbyinc/flux/search/action/SearchServiceTransportActionMsendExecuteDfsOJ
NPnode0Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;ALcom/groupbyinc/flux/search/internal/ShardSearchTransportRequest;]Lcom/groupbyinc/flux/action/ActionListener;moveToSecondPhase()V<=	X;com/groupbyinc/flux/search/controller/SearchPhaseControllerZaggregateDfsh(Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray;)Lcom/groupbyinc/flux/search/dfs/AggregatedDfs;\]
[^)java/util/concurrent/atomic/AtomicInteger`asList()Ljava/util/List;bc
djava/util/Listfsizeh&gi
a*iterator()Ljava/util/Iterator;lmgn,com/groupbyinc/flux/search/dfs/AggregatedDfspjava/util/IteratorrhasNext()Ztusvnext()Ljava/lang/Object;xyszvalueLjava/lang/Object;|}	~.com/groupbyinc/flux/search/dfs/DfsSearchResult?nodes1Lcom/groupbyinc/flux/cluster/node/DiscoveryNodes;??	?shardTarget0()Lcom/groupbyinc/flux/search/SearchShardTarget;??
??,com/groupbyinc/flux/search/SearchShardTarget?nodeId?F
??/com/groupbyinc/flux/cluster/node/DiscoveryNodes?getD(Ljava/lang/String;)Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;??
??3com/groupbyinc/flux/search/query/QuerySearchRequest?@A	?id()J??
??c(Lcom/groupbyinc/flux/action/search/SearchRequest;JLcom/groupbyinc/flux/search/dfs/AggregatedDfs;)V?
??indexI??	?executeQuery?(ILcom/groupbyinc/flux/search/dfs/DfsSearchResult;Ljava/util/concurrent/atomic/AtomicInteger;Lcom/groupbyinc/flux/search/query/QuerySearchRequest;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)V??
?	dfsResult0Lcom/groupbyinc/flux/search/dfs/DfsSearchResult;querySearchRequest5Lcom/groupbyinc/flux/search/query/QuerySearchRequest;entrypLcom/groupbyinc/flux/common/util/concurrent/AtomicArray$Entry;>Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray$Entry;.Lcom/groupbyinc/flux/search/dfs/AggregatedDfs;counter+Ljava/util/concurrent/atomic/AtomicInteger;
(Lcom/groupbyinc/flux/action/search/SearchDfsQueryThenFetchAsyncAction;Lcom/groupbyinc/flux/search/dfs/DfsSearchResult;ILjava/util/concurrent/atomic/AtomicInteger;Lcom/groupbyinc/flux/search/query/QuerySearchRequest;Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;)V?
?sendExecuteQuery?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/search/query/QuerySearchRequest;Lcom/groupbyinc/flux/action/ActionListener;)V??
N?
shardIndexonQueryFailure?(Ljava/lang/Throwable;Lcom/groupbyinc/flux/search/query/QuerySearchRequest;ILcom/groupbyinc/flux/search/dfs/DfsSearchResult;Ljava/util/concurrent/atomic/AtomicInteger;)V45	?+com/groupbyinc/flux/common/logging/ESLogger?isDebugEnabled?u??"[{}] Failed to execute query phase?java/lang/Object?
??java/lang/Long?valueOf(J)Ljava/lang/Long;??
??debug=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V????addShardFailureG(ILcom/groupbyinc/flux/search/SearchShardTarget;Ljava/lang/Throwable;)V??
?
successfulOps??	?decrementAndGet?&
a??&
a?BD	??com/groupbyinc/flux/action/search/SearchPhaseExecutionException?query?all shards failed?buildShardFailures9()[Lcom/groupbyinc/flux/action/search/ShardSearchFailure;??
?^(Ljava/lang/String;Ljava/lang/String;[Lcom/groupbyinc/flux/action/search/ShardSearchFailure;)V?
??)com/groupbyinc/flux/action/ActionListener?	onFailure(Ljava/lang/Throwable;)V????executeFetchPhase?W
?tLjava/lang/Throwable;java/lang/Throwable?innerExecuteFetchPhase?W
?;	useScrollZlastEmittedDocPerShard?(Lcom/groupbyinc/flux/action/search/SearchDfsQueryThenFetchAsyncAction;Lcom/groupbyinc/flux/search/SearchShardTarget;ILjava/util/concurrent/atomic/AtomicInteger;Lcom/groupbyinc/flux/search/fetch/ShardFetchSearchRequest;)V:

;sendExecuteFetch?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/search/fetch/ShardFetchSearchRequest;Lcom/groupbyinc/flux/action/ActionListener;)V=>
N?.Lcom/groupbyinc/flux/search/SearchShardTarget;onFetchFailure?(Ljava/lang/Throwable;Lcom/groupbyinc/flux/search/fetch/ShardFetchSearchRequest;ILcom/groupbyinc/flux/search/SearchShardTarget;Ljava/util/concurrent/atomic/AtomicInteger;)V"[{}] Failed to execute fetch phaseD8com/groupbyinc/flux/search/fetch/ShardFetchSearchRequestF
G?>?	IsearchKexecutor3(Ljava/lang/String;)Ljava/util/concurrent/Executor;MN
Ot(Lcom/groupbyinc/flux/action/search/SearchDfsQueryThenFetchAsyncAction;Lcom/groupbyinc/flux/action/ActionListener;)VQ
Rjava/util/concurrent/ExecutorTexecute(Ljava/lang/Runnable;)VVWUX
access$000I(Lcom/groupbyinc/flux/action/search/SearchDfsQueryThenFetchAsyncAction;)Vx0	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable?(Lcom/groupbyinc/flux/common/logging/ESLogger;Lcom/groupbyinc/flux/search/action/SearchServiceTransportAction;Lcom/groupbyinc/flux/cluster/ClusterService;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;Lcom/groupbyinc/flux/search/controller/SearchPhaseController;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/action/search/SearchRequest;Lcom/groupbyinc/flux/action/ActionListener;)V?(Lcom/groupbyinc/flux/cluster/node/DiscoveryNode;Lcom/groupbyinc/flux/search/internal/ShardSearchTransportRequest;Lcom/groupbyinc/flux/action/ActionListener;)V
StackMapTable
Exceptions
SourceFileInnerClasses ]]]^?		H*+,-?!*?Y*?$?(?+?-*?Y*?$?(?+?/*?Y*?$?(?+?1?_\	H23H45H67H89H:;H<=H>?H@AHBD`HBCa9:#;5<G=]bEF^-H?_23aAIJ^i*?L+,-?Q?_*23RS@TBD`BUa
G
H]cVW^2?*?Y*?$?_L?aY*?$?e?j?kM*?$?e?oN-?w?O-?{?:???:*????????:??Y*????+??:*??,??????_HK4??\#RSo??A>???23wG? c??`A>??a&	LM NAOKP\QoRS?Td?-qas?T??^{*?L?Y*,-?????_>23????????RSa
Xn??^?k*?????*???+??Y,?Ǹ?S??*??+??*?ض?W?ۚ,*?ضݚ*?߻?Y??*?????*???_>k23k??k??k??k??k??a&	rs&u1v9wAxKyf{j~d&??W^|#*???L*?߻?Y?+*??????_?#23a????"?dG??W^?	?*?????<**?Y*?-??*?Y*?1*??*?1?e??*??*?Y*??*?*?$?(?"M?aY*?1?e?j?kN*?1?e?o:?w?R?{?:*?-???&?(:*???)????:*,?-:*???)-?1????_R?/23?RS?45?@???23?78Z|9nh??`?@?6aF?? ?/?>?B?C?S?V?Z?n?????????????d@?3?8#as?Xe./^y
*?L?
Y*,-?23???A??45RSa
??BC^?D*?????*??E+??Y,?H??S??*+??*?ض?W?ۚ*??_>D23D??D45D??D?AD??a??'?/?7???C?d'W^J*?JL?P?Y**?߷S?Y?_23a
??Z[^/*??_\3a/]fg*
		




© 2015 - 2025 Weber Informatics LLC | Privacy Policy