Uses of Class
org.apache.solr.common.cloud.DocRouter
Packages that use DocRouter
Package
Description
Concrete implementations of client API classes.
Convenience classes for dealing with various types of Solr requests.
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
-
Uses of DocRouter in org.apache.solr.client.solrj.impl
Methods in org.apache.solr.client.solrj.impl with parameters of type DocRouterModifier and TypeMethodDescriptionprotected Map<String, LBSolrClient.Req> CloudLegacySolrClient.createRoutes(UpdateRequest updateRequest, ModifiableSolrParams routableParams, DocCollection col, DocRouter router, Map<String, List<String>> urlMap, String idField) Deprecated.protected Map<String, ? extends LBSolrClient.Req> CloudSolrClient.createRoutes(UpdateRequest updateRequest, ModifiableSolrParams routableParams, DocCollection col, DocRouter router, Map<String, List<String>> urlMap, String routeField) -
Uses of DocRouter in org.apache.solr.client.solrj.request
Methods in org.apache.solr.client.solrj.request with parameters of type DocRouterModifier and TypeMethodDescriptionUpdateRequest.getRoutesToCollection(DocRouter router, DocCollection col, Map<String, List<String>> urlMap, ModifiableSolrParams params, String idField) -
Uses of DocRouter in org.apache.solr.common.cloud
Subclasses of DocRouter in org.apache.solr.common.cloudModifier and TypeClassDescriptionclassCompositeIdRouter partitions ids based on aCompositeIdRouter.SEPARATOR, hashes each partition and merges the hashes together to map the id to a slice.classclassThis document router is for custom shardingclassFields in org.apache.solr.common.cloud declared as DocRouterMethods in org.apache.solr.common.cloud that return DocRouterModifier and TypeMethodDescriptionstatic DocRouterDocRouter.getDocRouter(String routerName) DocCollection.getRouter()Methods in org.apache.solr.common.cloud with parameters of type DocRouterModifier and TypeMethodDescriptionstatic DocCollectionDocCollection.create(String name, Map<String, Slice> slices, Map<String, Object> props, DocRouter router, int zkVersion, Instant creationTime, DocCollection.PrsSupplier prsSupplier) Builds a DocCollection with an optional PrsSupplierConstructors in org.apache.solr.common.cloud with parameters of type DocRouter