com.groupbyinc.flux.action.termvectors.TransportShardMultiTermsVectorAction.class Maven / Gradle / Ivy
???? 4 Kcom/groupbyinc/flux/action/termvectors/TransportShardMultiTermsVectorAction ?Lcom/groupbyinc/flux/action/support/single/shard/TransportSingleShardAction; Jcom/groupbyinc/flux/action/support/single/shard/TransportSingleShardAction )TransportShardMultiTermsVectorAction.java Zcom/groupbyinc/flux/action/support/single/shard/TransportSingleShardAction$InternalRequest InternalRequest /com/groupbyinc/flux/threadpool/ThreadPool$Names
)com/groupbyinc/flux/threadpool/ThreadPool Names Gcom/groupbyinc/flux/action/termvectors/MultiTermVectorsResponse$Failure ?com/groupbyinc/flux/action/termvectors/MultiTermVectorsResponse Failure %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup indicesService ,Lcom/groupbyinc/flux/indices/IndicesService; ACTION_NAME Ljava/lang/String; indices:data/read/mtv[shard] `(Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/indices/IndicesService;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/action/support/ActionFilters;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;)V *Lcom/groupbyinc/flux/common/inject/Inject; "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; ) Ccom/groupbyinc/flux/action/termvectors/MultiTermVectorsShardRequest + ()V -
, . / G()Lcom/groupbyinc/flux/action/termvectors/MultiTermVectorsShardRequest; 1 get ()Ljava/util/function/Supplier; 3 4 5 3u(Lcom/groupbyinc/flux/common/settings/Settings;Ljava/lang/String;Lcom/groupbyinc/flux/threadpool/ThreadPool;Lcom/groupbyinc/flux/cluster/service/ClusterService;Lcom/groupbyinc/flux/transport/TransportService;Lcom/groupbyinc/flux/action/support/ActionFilters;Lcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver;Ljava/util/function/Supplier;Ljava/lang/String;)V 8
9 ; this MLcom/groupbyinc/flux/action/termvectors/TransportShardMultiTermsVectorAction; settings .Lcom/groupbyinc/flux/common/settings/Settings; clusterService 4Lcom/groupbyinc/flux/cluster/service/ClusterService; transportService 0Lcom/groupbyinc/flux/transport/TransportService;
threadPool +Lcom/groupbyinc/flux/threadpool/ThreadPool;
actionFilters 2Lcom/groupbyinc/flux/action/support/ActionFilters; indexNameExpressionResolver BLcom/groupbyinc/flux/cluster/metadata/IndexNameExpressionResolver; isSubAction ()Z newResponse H()Lcom/groupbyinc/flux/action/termvectors/MultiTermVectorsShardResponse; Dcom/groupbyinc/flux/action/termvectors/MultiTermVectorsShardResponse O
P . resolveIndex H(Lcom/groupbyinc/flux/action/termvectors/MultiTermVectorsShardRequest;)Z request ELcom/groupbyinc/flux/action/termvectors/MultiTermVectorsShardRequest; shards ?(Lcom/groupbyinc/flux/cluster/ClusterState;Lcom/groupbyinc/flux/action/support/single/shard/TransportSingleShardAction$InternalRequest;)Lcom/groupbyinc/flux/cluster/routing/ShardIterator; A B X 2com/groupbyinc/flux/cluster/service/ClusterService Z operationRouting 8()Lcom/groupbyinc/flux/cluster/routing/OperationRouting; \ ]
[ ^
concreteIndex ()Ljava/lang/String; ` a
b F()Lcom/groupbyinc/flux/action/support/single/shard/SingleShardRequest; T d
e shardId ()I g h
, i
preference k a
, l 4com/groupbyinc/flux/cluster/routing/OperationRouting n getShards ?(Lcom/groupbyinc/flux/cluster/ClusterState;Ljava/lang/String;ILjava/lang/String;)Lcom/groupbyinc/flux/cluster/routing/ShardIterator; p q
o r state *Lcom/groupbyinc/flux/cluster/ClusterState; ?Lcom/groupbyinc/flux/action/support/single/shard/TransportSingleShardAction.InternalRequest; \Lcom/groupbyinc/flux/action/support/single/shard/TransportSingleShardAction$InternalRequest; shardOperation ?(Lcom/groupbyinc/flux/action/termvectors/MultiTermVectorsShardRequest;Lcom/groupbyinc/flux/index/shard/ShardId;)Lcom/groupbyinc/flux/action/termvectors/MultiTermVectorsShardResponse; java/lang/Exception z 'com/groupbyinc/flux/index/shard/ShardId | getIndex #()Lcom/groupbyinc/flux/index/Index; ~
} ? *com/groupbyinc/flux/indices/IndicesService ? indexServiceSafe K(Lcom/groupbyinc/flux/index/Index;)Lcom/groupbyinc/flux/index/IndexService; ? ?
? ? id ? h
} ? &com/groupbyinc/flux/index/IndexService ? getShard /(I)Lcom/groupbyinc/flux/index/shard/IndexShard; ? ?
? ? *com/groupbyinc/flux/index/shard/IndexShard ? locations ;Lcom/groupbyinc/flux/common/carrotsearch/hppc/IntArrayList; ? ? , ? 9com/groupbyinc/flux/common/carrotsearch/hppc/IntArrayList ? size ? h
? ? requests Ljava/util/List; ? ? , ? java/util/List ? (I)Ljava/lang/Object; 3 ? ? ? 9com/groupbyinc/flux/action/termvectors/TermVectorsRequest ? 8com/groupbyinc/flux/index/termvectors/TermVectorsService ? getTermVectors ?(Lcom/groupbyinc/flux/index/shard/IndexShard;Lcom/groupbyinc/flux/action/termvectors/TermVectorsRequest;)Lcom/groupbyinc/flux/action/termvectors/TermVectorsResponse; ? ?
? ? (I)I 3 ?
? ? add @(ILcom/groupbyinc/flux/action/termvectors/TermVectorsResponse;)V ? ?
P ? 3com/groupbyinc/flux/action/support/TransportActions ? isShardNotAvailableException (Ljava/lang/Throwable;)Z ? ?
? ? *com/groupbyinc/flux/ElasticsearchException ? logger 8Lcom/groupbyinc/flux/common/apache/logging/log4j/Logger; ? ? ? lambda$shardOperation$0 x(Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/action/termvectors/TermVectorsRequest;)Ljava/lang/Object; ? ?
? ? ?(Lcom/groupbyinc/flux/index/shard/ShardId;Lcom/groupbyinc/flux/action/termvectors/TermVectorsRequest;)Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier; 3 ? ? 6com/groupbyinc/flux/common/apache/logging/log4j/Logger ? debug W(Lcom/groupbyinc/flux/common/apache/logging/log4j/util/Supplier;Ljava/lang/Throwable;)V ? ? ? ? index ? a
, ? type ? a
? ? ? a
? ? N(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Exception;)V ?
? M(ILcom/groupbyinc/flux/action/termvectors/MultiTermVectorsResponse$Failure;)V ? ?
P ? termVectorsResponse