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

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

There is a newer version: 198
Show newest version
????42com/groupbyinc/flux/action/search/FetchSearchPhase-com/groupbyinc/flux/action/search/SearchPhaseFetchSearchPhase.java4com/groupbyinc/flux/action/search/FetchSearchPhase$34com/groupbyinc/flux/action/search/FetchSearchPhase$24com/groupbyinc/flux/action/search/FetchSearchPhase$1
Gcom/groupbyinc/flux/action/search/InitialSearchPhase$SearchPhaseResults4com/groupbyinc/flux/action/search/InitialSearchPhaseSearchPhaseResults2com/groupbyinc/flux/transport/Transport$Connection'com/groupbyinc/flux/transport/Transport
ConnectionIcom/groupbyinc/flux/action/search/SearchPhaseController$ReducedQueryPhase7com/groupbyinc/flux/action/search/SearchPhaseControllerReducedQueryPhase%java/lang/invoke/MethodHandles$Lookupjava/lang/invoke/MethodHandlesLookupfetchResults8Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray;nLcom/groupbyinc/flux/common/util/concurrent/AtomicArray;searchPhaseController9Lcom/groupbyinc/flux/action/search/SearchPhaseController;queryResultshLcom/groupbyinc/flux/common/util/concurrent/AtomicArray;nextPhaseFactoryLjava/util/function/BiFunction;?Ljava/util/function/BiFunction;context6Lcom/groupbyinc/flux/action/search/SearchPhaseContext;logger!Lorg/apache/logging/log4j/Logger;resultConsumerILcom/groupbyinc/flux/action/search/InitialSearchPhase$SearchPhaseResults;yLcom/groupbyinc/flux/action/search/InitialSearchPhase$SearchPhaseResults;$assertionsDisabledZ?(Lcom/groupbyinc/flux/action/search/InitialSearchPhase$SearchPhaseResults;Lcom/groupbyinc/flux/action/search/SearchPhaseController;Lcom/groupbyinc/flux/action/search/SearchPhaseContext;)V"java/lang/invoke/LambdaMetafactory5metafactory?(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;78
69:8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;<lambda$new$1?(Lcom/groupbyinc/flux/action/search/SearchPhaseContext;Lcom/groupbyinc/flux/search/internal/InternalSearchResponse;Ljava/lang/String;)Lcom/groupbyinc/flux/action/search/SearchPhase;>?
@A(Lcom/groupbyinc/flux/search/internal/InternalSearchResponse;Ljava/lang/String;)Lcom/groupbyinc/flux/action/search/SearchPhase;CapplyW(Lcom/groupbyinc/flux/action/search/SearchPhaseContext;)Ljava/util/function/BiFunction;EFG?(Lcom/groupbyinc/flux/action/search/InitialSearchPhase$SearchPhaseResults;Lcom/groupbyinc/flux/action/search/SearchPhaseController;Lcom/groupbyinc/flux/action/search/SearchPhaseContext;Ljava/util/function/BiFunction;)V3I
Jthis4Lcom/groupbyinc/flux/action/search/FetchSearchPhase;fetchN(Ljava/lang/String;)V3P
Q4com/groupbyinc/flux/action/search/SearchPhaseContextSgetNumShards()IUVTW

Wjava/lang/IllegalStateExceptionZjava/lang/StringBuilder\()V3^
]_Hnumber of shards must match the length of the query results but doesn't:aappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;cd
]e(I)Ljava/lang/StringBuilder;cg
]h!=jtoString()Ljava/lang/String;lm
]n
[Qjava/util/function/BiFunctionq6com/groupbyinc/flux/common/util/concurrent/AtomicArrays(I)V3u
tv !	x#$	zgetAtomicArray:()Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray;|}

~%!	?'(	?*+	?	getLogger#()Lorg/apache/logging/log4j/Logger;??T?,-	?./	?runjava/io/IOException?b(Lcom/groupbyinc/flux/action/search/FetchSearchPhase;Lcom/groupbyinc/flux/action/ActionListener;)V3?
?execute(Ljava/lang/Runnable;)V??T?innerRun
getRequest3()Lcom/groupbyinc/flux/action/search/SearchRequest;??T?/com/groupbyinc/flux/action/search/SearchRequest?scroll%()Lcom/groupbyinc/flux/search/Scroll;??
??asList()Ljava/util/List;??
t?7com/groupbyinc/flux/action/search/TransportSearchHelper?
buildScrollIdL(Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray;)Ljava/lang/String;??
??java/util/List?java/lang/String?reduceM()Lcom/groupbyinc/flux/action/search/SearchPhaseController$ReducedQueryPhase;??

?length?V
t?^lambda$innerRun$2a(Ljava/lang/String;Lcom/groupbyinc/flux/action/search/SearchPhaseController$ReducedQueryPhase;Z)V??
???(Lcom/groupbyinc/flux/action/search/FetchSearchPhase;Ljava/lang/String;Lcom/groupbyinc/flux/action/search/SearchPhaseController$ReducedQueryPhase;Z)Ljava/lang/Runnable;???12	?isEmpty()Z????get(I)Ljava/lang/Object;????,com/groupbyinc/flux/search/SearchPhaseResult?fetchResult6()Lcom/groupbyinc/flux/search/fetch/FetchSearchResult;??
??java/lang/AssertionError?phaseResults empty [?(Z)Ljava/lang/StringBuilder;c?
]?], single result: ?-(Ljava/lang/Object;)Ljava/lang/StringBuilder;c?
]?(Ljava/lang/Object;)V3?
??java/lang/Runnable??^??	scoreDocs;[Lcom/groupbyinc/flux/common/apache/lucene/search/ScoreDoc;??	?fillDocIdsToLoadz(I[Lcom/groupbyinc/flux/common/apache/lucene/search/ScoreDoc;)[Lcom/groupbyinc/flux/common/carrotsearch/hppc/IntArrayList;??
?stream()Ljava/util/stream/Stream;????&(Ljava/lang/Object;)Ljava/lang/Object;?queryResult6()Lcom/groupbyinc/flux/search/query/QuerySearchResult;??
???d(Lcom/groupbyinc/flux/search/SearchPhaseResult;)Lcom/groupbyinc/flux/search/query/QuerySearchResult;?()Ljava/util/function/Function;E??java/util/stream/Stream?map8(Ljava/util/function/Function;)Ljava/util/stream/Stream;????releaseIrrelevantSearchContext7(Lcom/groupbyinc/flux/search/query/QuerySearchResult;)V
acceptS(Lcom/groupbyinc/flux/action/search/FetchSearchPhase;)Ljava/util/function/Consumer;	
forEach (Ljava/util/function/Consumer;)V
?<[Lcom/groupbyinc/flux/common/carrotsearch/hppc/IntArrayList;getLastEmittedDocPerShard?(Lcom/groupbyinc/flux/action/search/SearchPhaseController$ReducedQueryPhase;I)[Lcom/groupbyinc/flux/common/apache/lucene/search/ScoreDoc;
?2com/groupbyinc/flux/action/search/CountedCollectorlambda$innerRun$37(Lcom/groupbyinc/flux/search/fetch/FetchSearchResult;)V
k(Ljava/util/function/Consumer;ILjava/lang/Runnable;Lcom/groupbyinc/flux/action/search/SearchPhaseContext;)V3!
"
t?9com/groupbyinc/flux/common/carrotsearch/hppc/IntArrayList%	countDown'^
(getSearchShardTarget0()Lcom/groupbyinc/flux/search/SearchShardTarget;*+
?,,com/groupbyinc/flux/search/SearchShardTarget.getClusterAlias0m
/1	getNodeId3m
/4
getConnectionZ(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/transport/Transport$Connection;67T82com/groupbyinc/flux/search/query/QuerySearchResult:getRequestId()J<=
;>getOriginalIndices.()Lcom/groupbyinc/flux/action/OriginalIndices;@A
/BcreateFetchRequest?(JILcom/groupbyinc/flux/common/carrotsearch/hppc/IntArrayList;[Lcom/groupbyinc/flux/common/apache/lucene/search/ScoreDoc;Lcom/groupbyinc/flux/action/OriginalIndices;)Lcom/groupbyinc/flux/search/fetch/ShardFetchSearchRequest;DE
FexecuteFetch(ILcom/groupbyinc/flux/search/SearchShardTarget;Lcom/groupbyinc/flux/action/search/CountedCollector;Lcom/groupbyinc/flux/search/fetch/ShardFetchSearchRequest;Lcom/groupbyinc/flux/search/query/QuerySearchResult;Lcom/groupbyinc/flux/transport/Transport$Connection;)VHI
JsearchShardTarget.Lcom/groupbyinc/flux/search/SearchShardTarget;
connection4Lcom/groupbyinc/flux/transport/Transport$Connection;fetchSearchRequest:Lcom/groupbyinc/flux/search/fetch/ShardFetchSearchRequest;entry;Lcom/groupbyinc/flux/common/carrotsearch/hppc/IntArrayList;.Lcom/groupbyinc/flux/search/SearchPhaseResult;iIlastEmittedDocPerShardcounterjLcom/groupbyinc/flux/action/search/CountedCollector;4Lcom/groupbyinc/flux/action/search/CountedCollector;docIdsToLoad	numShardsisScrollSearchphaseResults@Ljava/util/List;Ljava/util/List;scrollIdLjava/lang/String;reducedQueryPhaseKLcom/groupbyinc/flux/action/search/SearchPhaseController$ReducedQueryPhase;queryAndFetchOptimizationfinishPhaseLjava/lang/Runnable;8com/groupbyinc/flux/common/apache/lucene/search/ScoreDoch8com/groupbyinc/flux/search/fetch/ShardFetchSearchRequestj?(Lcom/groupbyinc/flux/action/OriginalIndices;JLcom/groupbyinc/flux/common/carrotsearch/hppc/IntArrayList;Lcom/groupbyinc/flux/common/apache/lucene/search/ScoreDoc;)V3l
kmqueryIdJindexoriginalIndices,Lcom/groupbyinc/flux/action/OriginalIndices;lastEmittedDoc:Lcom/groupbyinc/flux/common/apache/lucene/search/ScoreDoc;getSearchTransport<()Lcom/groupbyinc/flux/action/search/SearchTransportService;vwTxgetTask0()Lcom/groupbyinc/flux/action/search/SearchTask;z{T|7(Lcom/groupbyinc/flux/action/search/FetchSearchPhase;Lcom/groupbyinc/flux/search/SearchShardTarget;ILcom/groupbyinc/flux/action/search/CountedCollector;Lcom/groupbyinc/flux/search/fetch/ShardFetchSearchRequest;ILcom/groupbyinc/flux/search/SearchShardTarget;Lcom/groupbyinc/flux/search/query/QuerySearchResult;)V3~
	8com/groupbyinc/flux/action/search/SearchTransportService?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??
??
shardIndexshardTargetquerySearchResult4Lcom/groupbyinc/flux/search/query/QuerySearchResult;java/lang/Exception?hasSearchContext??
;?
;,sendReleaseSearchContextd(JLcom/groupbyinc/flux/transport/Transport$Connection;Lcom/groupbyinc/flux/action/OriginalIndices;)V??T?failed to release context?org/apache/logging/log4j/Logger?trace*(Ljava/lang/String;Ljava/lang/Throwable;)V????eLjava/lang/Exception;moveToNextPhase?(Lcom/groupbyinc/flux/action/search/SearchPhaseController;Ljava/lang/String;Lcom/groupbyinc/flux/action/search/SearchPhaseController$ReducedQueryPhase;Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray;)Vjava/util/Objects?requireNonNull??
???$1(I)Lcom/groupbyinc/flux/search/SearchPhaseResult;?Z(Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray;)Ljava/util/function/IntFunction;E??merge?(ZLcom/groupbyinc/flux/action/search/SearchPhaseController$ReducedQueryPhase;Ljava/util/Collection;Ljava/util/function/IntFunction;)Lcom/groupbyinc/flux/search/internal/InternalSearchResponse;??
?E<r?executeNextPhasea(Lcom/groupbyinc/flux/action/search/SearchPhase;Lcom/groupbyinc/flux/action/search/SearchPhase;)V??T?fetchResultsArriLcom/groupbyinc/flux/common/util/concurrent/AtomicArray<+Lcom/groupbyinc/flux/search/SearchPhaseResult;>;internalResponsejava/lang/Class?desiredAssertionStatus??
??	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable?(Lcom/groupbyinc/flux/action/search/InitialSearchPhase$SearchPhaseResults;Lcom/groupbyinc/flux/action/search/SearchPhaseController;Lcom/groupbyinc/flux/action/search/SearchPhaseContext;)V
StackMapTable?(Lcom/groupbyinc/flux/action/search/InitialSearchPhase$SearchPhaseResults;Lcom/groupbyinc/flux/action/search/SearchPhaseController;Lcom/groupbyinc/flux/action/search/SearchPhaseContext;Ljava/util/function/BiFunction;)V
Exceptions>(ILcom/groupbyinc/flux/search/SearchShardTarget;Lcom/groupbyinc/flux/action/search/CountedCollector;Lcom/groupbyinc/flux/search/fetch/ShardFetchSearchRequest;Lcom/groupbyinc/flux/search/query/QuerySearchResult;Lcom/groupbyinc/flux/transport/Transport$Connection;)V(Lcom/groupbyinc/flux/action/search/SearchPhaseController;Ljava/lang/String;Lcom/groupbyinc/flux/action/search/SearchPhaseController$ReducedQueryPhase;Lcom/groupbyinc/flux/common/util/concurrent/AtomicArray<+Lcom/groupbyinc/flux/search/SearchPhaseResult;>;)VBootstrapMethods
SourceFileInnerClasses0 !?"#$%!?&'(?)*+,-./?01234?l*+,--?H?K??*LM./#$*+?.0?
8
;??3I?.v*O?R-?X+?Y?/?[Y?]Y?`b?f-?X?ik?f+?Y?i?o?p?*?tY+?Y?w?y*,?{*+???*??*-??*-????*+????4vLMv./v#$v*+v'(?v.0v')?2@AB$C?ENFSG[HaIfJpKuL???
Tr???^?D*???Y**????????LM?
P^???^???*???X<*????????=*????N?
*?????:*????:*??????6*??:?a?šQ-???H-???̶??8??Y?]Y?`Զf-????ٶf-???̶жܶo?߿????*?{???:?羚(-?????*???????*?{??:	?Y*? ?*???#:
6???2:*???$??:
?
?*
???
?)?K
?-:*???2?5?9:*
????	?C?G:*

???K???}???oALM?,NO?PQ?qRSMc?T
0?UV?W?	-?XZ
??[?LM
?\V?]2'?^`8abAvcdSde2aVfg?-?XY
'?^_??&a
bc'd8eAfSgajfk?l?n?p?q?r?s?t?uwxyz-}8~?M?R?W?`?h?o?z?}??????????}???a?@??@???@?h?	?<@??/&??G??????DE???
2?:?kY?n??HLMopqVRSW?rstu?
???@iHI??+*???y*???}?	Y*,-,??????H+LM+?V+?M+XZ+PQ+??+NO?+XY?
?*?????V*???????I+???B+??M*??,?2,?5?9N*??+??-,?C???M*?????,????B??4$LM-NOC??VLMV???"???-???B?C?U??	?B?????F+*????????-??Y??W????:*??**??,???????>FLMF#$FabFcdF?!,???F?????'?,?E?? T??t??
???L?Y?,*+???? ??ab*+???A
*?y+??+?ʱ?
LM
???z????**?{+,?
*???*?y?α?*LMabcde2?hih????????t
>??O??Y*+,*???ݰ? *+??ab?9
???E,*+?߰? ab*+???:???/*????M?,?????/*?????M?,???/*?????M?,???:*+????M???,?^?4????±?,?@?H;=BD;???;???;;;???;????:	
	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy