Uses of Interface
org.elasticsearch.cluster.routing.ShardIterator
-
-
Uses of ShardIterator in org.elasticsearch.action.explain
Methods in org.elasticsearch.action.explain that return ShardIterator Modifier and Type Method Description protected ShardIteratorTransportExplainAction. shards(ClusterState state, TransportSingleShardAction.InternalRequest request) -
Uses of ShardIterator in org.elasticsearch.action.get
Methods in org.elasticsearch.action.get that return ShardIterator Modifier and Type Method Description protected ShardIteratorTransportGetAction. shards(ClusterState state, TransportSingleShardAction.InternalRequest request)protected ShardIteratorTransportShardMultiGetAction. shards(ClusterState state, TransportSingleShardAction.InternalRequest request) -
Uses of ShardIterator in org.elasticsearch.action.search
Classes in org.elasticsearch.action.search that implement ShardIterator Modifier and Type Class Description classSearchShardIteratorExtension ofPlainShardIteratorused in the search api, which also holds theOriginalIndicesof the search request (useful especially with cross-cluster search, as each cluster has its own set of original indices) as well as the cluster alias.Methods in org.elasticsearch.action.search with parameters of type ShardIterator Modifier and Type Method Description intSearchShardIterator. compareTo(ShardIterator o) -
Uses of ShardIterator in org.elasticsearch.action.support.broadcast
Methods in org.elasticsearch.action.support.broadcast that return types with arguments of type ShardIterator Modifier and Type Method Description protected abstract GroupShardsIterator<ShardIterator>TransportBroadcastAction. shards(ClusterState clusterState, Request request, String[] concreteIndices)Determines the shards this operation will be executed on.Methods in org.elasticsearch.action.support.broadcast with parameters of type ShardIterator Modifier and Type Method Description protected voidTransportBroadcastAction.AsyncBroadcastAction. performOperation(ShardIterator shardIt, ShardRouting shard, int shardIndex) -
Uses of ShardIterator in org.elasticsearch.action.support.single.instance
Methods in org.elasticsearch.action.support.single.instance that return ShardIterator Modifier and Type Method Description protected abstract ShardIteratorTransportInstanceSingleOperationAction. shards(ClusterState clusterState, Request request)Should return an iterator with a single shard! -
Uses of ShardIterator in org.elasticsearch.action.termvectors
Methods in org.elasticsearch.action.termvectors that return ShardIterator Modifier and Type Method Description protected ShardIteratorTransportShardMultiTermsVectorAction. shards(ClusterState state, TransportSingleShardAction.InternalRequest request)protected ShardIteratorTransportTermVectorsAction. shards(ClusterState state, TransportSingleShardAction.InternalRequest request) -
Uses of ShardIterator in org.elasticsearch.action.update
Methods in org.elasticsearch.action.update that return ShardIterator Modifier and Type Method Description protected ShardIteratorTransportUpdateAction. shards(ClusterState clusterState, UpdateRequest request) -
Uses of ShardIterator in org.elasticsearch.cluster.routing
Classes in org.elasticsearch.cluster.routing with type parameters of type ShardIterator Modifier and Type Class Description classGroupShardsIterator<ShardIt extends ShardIterator>This class implements a compilation ofShardIterators.Classes in org.elasticsearch.cluster.routing that implement ShardIterator Modifier and Type Class Description classPlainShardIteratorMethods in org.elasticsearch.cluster.routing that return ShardIterator Modifier and Type Method Description ShardIteratorIndexShardRoutingTable. activeInitializingShardsIt(int seed)Returns an iterator over active and initializing shards.ShardIteratorIndexShardRoutingTable. activeInitializingShardsRandomIt()Returns an iterator over active and initializing shards.ShardIteratorIndexShardRoutingTable. activeInitializingShardsRankedIt(ResponseCollectorService collector, Map<String,Long> nodeSearchCounts)Returns an iterator over active and initializing shards, ordered by the adaptive replica selection formula.ShardIteratorOperationRouting. getShards(ClusterState clusterState, String index, int shardId, String preference)ShardIteratorOperationRouting. getShards(ClusterState clusterState, String index, String id, String routing, String preference)ShardIteratorOperationRouting. indexShards(ClusterState clusterState, String index, String id, String routing)ShardIteratorIndexShardRoutingTable. onlyNodeActiveInitializingShardsIt(String nodeId)ShardIteratorIndexShardRoutingTable. onlyNodeSelectorActiveInitializingShardsIt(String[] nodeAttributes, DiscoveryNodes discoveryNodes)Returns shards based on nodeAttributes given such as node name , node attribute, node IP Supports node specifications in cluster APIShardIteratorIndexShardRoutingTable. onlyNodeSelectorActiveInitializingShardsIt(String nodeAttributes, DiscoveryNodes discoveryNodes)ShardIteratorIndexShardRoutingTable. preferAttributesActiveInitializingShardsIt(List<String> attributes, DiscoveryNodes nodes)ShardIteratorIndexShardRoutingTable. preferAttributesActiveInitializingShardsIt(List<String> attributes, DiscoveryNodes nodes, int seed)ShardIteratorIndexShardRoutingTable. preferNodeActiveInitializingShardsIt(Set<String> nodeIds)ShardIteratorIndexShardRoutingTable. primaryShardIt()Returns an iterator only on the primary shard.ShardIteratorIndexShardRoutingTable. shardsIt()ShardIteratorIndexShardRoutingTable. shardsIt(int seed)ShardIteratorShardRouting. shardsIt()A shard iterator with just this shard in it.ShardIteratorIndexShardRoutingTable. shardsRandomIt()Methods in org.elasticsearch.cluster.routing that return types with arguments of type ShardIterator Modifier and Type Method Description GroupShardsIterator<ShardIterator>RoutingTable. activePrimaryShardsGrouped(String[] indices, boolean includeEmpty)All the *active* primary shards for the provided indices grouped (each group is a single element, consisting of the primary shard).GroupShardsIterator<ShardIterator>RoutingTable. allActiveShardsGrouped(String[] indices, boolean includeEmpty)Return GroupShardsIterator where each active shard routing has it's own shard iterator.GroupShardsIterator<ShardIterator>RoutingTable. allAssignedShardsGrouped(String[] indices, boolean includeEmpty)Return GroupShardsIterator where each assigned shard routing has it's own shard iterator.GroupShardsIterator<ShardIterator>OperationRouting. searchShards(ClusterState clusterState, String[] concreteIndices, Map<String,Set<String>> routing, String preference)GroupShardsIterator<ShardIterator>OperationRouting. searchShards(ClusterState clusterState, String[] concreteIndices, Map<String,Set<String>> routing, String preference, ResponseCollectorService collectorService, Map<String,Long> nodeCounts)Methods in org.elasticsearch.cluster.routing with parameters of type ShardIterator Modifier and Type Method Description intPlainShardIterator. compareTo(ShardIterator o)
-