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.placementand to make them work with the rest of Solr.org.apache.solr.cluster.placement.plugins Sample plugin implementations. -
-
Uses of SolrCollection in org.apache.solr.cluster
Methods in org.apache.solr.cluster that return SolrCollection Modifier and Type Method Description SolrCollectionCluster. getCollection(String collectionName)Returns info about the given collection if one exists.SolrCollectionShard. 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 SolrCollectionModificationRequest. getCollection()TheSolrCollectionto modify.SolrCollectionReplicaPlacement. getCollection()Methods in org.apache.solr.cluster.placement with parameters of type SolrCollection Modifier and Type Method Description ReplicaPlacementPlacementPlanFactory. createReplicaPlacement(SolrCollection solrCollection, String shardName, Node node, Replica.ReplicaType replicaType)Creates aReplicaPlacementto be passed toPlacementPlanfactory methods.AttributeFetcherAttributeFetcher. 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 SolrCollectionBalanceRequestImpl. getCollection()SolrCollectionPlacementRequestImpl. getCollection()Methods in org.apache.solr.cluster.placement.impl with parameters of type SolrCollection Modifier and Type Method Description static DeleteReplicasRequestModificationRequestImpl. createDeleteReplicasRequest(SolrCollection collection, Set<Replica> replicas)Create a delete replicas request.static DeleteShardsRequestModificationRequestImpl. createDeleteShardsRequest(SolrCollection collection, Set<String> shardNames)ReplicaPlacementPlacementPlanFactoryImpl. createReplicaPlacement(SolrCollection solrCollection, String shardName, Node node, Replica.ReplicaType replicaType)AttributeFetcherAttributeFetcherImpl. 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) -
Uses of SolrCollection in org.apache.solr.cluster.placement.plugins
Method parameters in org.apache.solr.cluster.placement.plugins with type arguments of type SolrCollection Modifier and Type Method Description protected Map<Node,OrderedNodePlacementPlugin.WeightedNode>AffinityPlacementFactory.AffinityPlacementPlugin. getBaseWeightedNodes(PlacementContext placementContext, Set<Node> nodes, Iterable<SolrCollection> relevantCollections, boolean skipNodesWithErrors)protected abstract Map<Node,OrderedNodePlacementPlugin.WeightedNode>OrderedNodePlacementPlugin. getBaseWeightedNodes(PlacementContext placementContext, Set<Node> nodes, Iterable<SolrCollection> relevantCollections, boolean skipNodesWithErrors)protected Map<Node,OrderedNodePlacementPlugin.WeightedNode>RandomPlacementFactory.RandomPlacementPlugin. getBaseWeightedNodes(PlacementContext placementContext, Set<Node> nodes, Iterable<SolrCollection> relevantCollections, boolean skipNodesWithErrors)protected Map<Node,OrderedNodePlacementPlugin.WeightedNode>SimplePlacementFactory.SimplePlacementPlugin. getBaseWeightedNodes(PlacementContext placementContext, Set<Node> nodes, Iterable<SolrCollection> relevantCollections, boolean skipNodesWithErrors)protected Map<Node,OrderedNodePlacementPlugin.WeightedNode>OrderedNodePlacementPlugin. getWeightedNodes(PlacementContext placementContext, Set<Node> nodes, Iterable<SolrCollection> relevantCollections, boolean skipNodesWithErrors)
-