Uses of Interface
org.apache.solr.cluster.Shard
-
Packages that use Shard Package Description org.apache.solr.cluster This package contains the interfaces giving access to cluster state, including nodes, collections and the structure of the collections (shards and replicas).org.apache.solr.cluster.placement.plugins Sample plugin implementations. -
-
Uses of Shard in org.apache.solr.cluster
Methods in org.apache.solr.cluster that return Shard Modifier and Type Method Description Shard
Replica. getShard()
Shard
SolrCollection. getShard(String name)
Returns theShard
of the given name for that collection, if such a shard exists.Methods in org.apache.solr.cluster that return types with arguments of type Shard Modifier and Type Method Description Iterator<Shard>
SolrCollection. iterator()
Iterable<Shard>
SolrCollection. shards()
Allow foreach iteration on shards such as:for (Shard s : solrCollection.shards()) {...}
. -
Uses of Shard in org.apache.solr.cluster.placement.plugins
Methods in org.apache.solr.cluster.placement.plugins with parameters of type Shard Modifier and Type Method Description Set<Replica>
OrderedNodePlacementPlugin.WeightedNode. getReplicasForShardOnNode(Shard shard)
boolean
OrderedNodePlacementPlugin.WeightedNode. hasShardOnNode(Shard shard)
-