Uses of Interface
org.apache.solr.cluster.SolrCollection
-
Packages that use SolrCollection 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 This package contains interfaces visible by plugins (i.e.org.apache.solr.cluster.placement.impl Implementation classes (not visible to plugins, subject to change at any time) for the interfaces inorg.apache.solr.cluster.placement
and to make them work with the rest of Solr. -
-
Uses of SolrCollection in org.apache.solr.cluster
Methods in org.apache.solr.cluster that return SolrCollection Modifier and Type Method Description SolrCollection
Cluster. getCollection(String collectionName)
Returns info about the given collection if one exists.SolrCollection
Shard. getCollection()
Methods in org.apache.solr.cluster that return types with arguments of type SolrCollection Modifier and Type Method Description Iterable<SolrCollection>
Cluster. collections()
Allow foreach iteration on all collections of the cluster, such as:for (SolrCollection c : cluster.collections()) {...}
.Iterator<SolrCollection>
Cluster. iterator()
-
Uses of SolrCollection in org.apache.solr.cluster.placement
Methods in org.apache.solr.cluster.placement that return SolrCollection Modifier and Type Method Description SolrCollection
ModificationRequest. getCollection()
TheSolrCollection
to modify.SolrCollection
ReplicaPlacement. getCollection()
Methods in org.apache.solr.cluster.placement with parameters of type SolrCollection Modifier and Type Method Description ReplicaPlacement
PlacementPlanFactory. createReplicaPlacement(SolrCollection solrCollection, String shardName, Node node, Replica.ReplicaType replicaType)
Creates aReplicaPlacement
to be passed toPlacementPlan
factory methods.AttributeFetcher
AttributeFetcher. requestCollectionMetrics(SolrCollection solrCollection, Set<ReplicaMetric<?>> metrics)
Request collection-level metrics. -
Uses of SolrCollection in org.apache.solr.cluster.placement.impl
Methods in org.apache.solr.cluster.placement.impl that return SolrCollection Modifier and Type Method Description SolrCollection
PlacementRequestImpl. getCollection()
Methods in org.apache.solr.cluster.placement.impl with parameters of type SolrCollection Modifier and Type Method Description static DeleteReplicasRequest
ModificationRequestImpl. createDeleteReplicasRequest(SolrCollection collection, Set<Replica> replicas)
Create a delete replicas request.static DeleteShardsRequest
ModificationRequestImpl. createDeleteShardsRequest(SolrCollection collection, Set<String> shardNames)
ReplicaPlacement
PlacementPlanFactoryImpl. createReplicaPlacement(SolrCollection solrCollection, String shardName, Node node, Replica.ReplicaType replicaType)
AttributeFetcher
AttributeFetcherImpl. requestCollectionMetrics(SolrCollection solrCollection, Set<ReplicaMetric<?>> metrics)
Constructors in org.apache.solr.cluster.placement.impl with parameters of type SolrCollection Constructor Description PlacementRequestImpl(SolrCollection solrCollection, Set<String> shardNames, Set<Node> targetNodes, int countNrtReplicas, int countTlogReplicas, int countPullReplicas)
-