## Uses of Class
org.apache.solr.common.cloud.DocRouter

Packages that use DocRouter
org.apache.solr.client.solrj.impl: Concrete implementations of client API classes.
org.apache.solr.client.solrj.request: Convenience classes for dealing with various types of Solr requests.
org.apache.solr.common.cloud: 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 DocRouter
`protected 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 DocRouter
`Map<String,​LBSolrClient.Req>` UpdateRequest.`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.cloud
`class` `CompositeIdRouter` CompositeIdRouter partitions ids based on a `CompositeIdRouter.SEPARATOR`, hashes each partition and merges the hashes together to map the id to a slice.
`class` `HashBasedRouter`
`class` `ImplicitDocRouter` This document router is for custom sharding
`class` `PlainIdRouter`

Fields in org.apache.solr.common.cloud declared as DocRouter
`static DocRouter` DocRouter.`DEFAULT`

Methods in org.apache.solr.common.cloud that return DocRouter
`static DocRouter` DocRouter.`getDocRouter​(String routerName)`
`DocRouter` DocCollection.`getRouter()`

Methods in org.apache.solr.common.cloud with parameters of type DocRouter
`static DocCollection` DocCollection.`create​(String name, Map<String,​Slice> slices, Map<String,​Object> props, DocRouter router, int zkVersion, DocCollection.PrsSupplier prsSupplier)` Builds a DocCollection with an optional PrsSupplier

Constructors in org.apache.solr.common.cloud with parameters of type DocRouter
`DocCollection​(String name, Map<String,​Slice> slices, Map<String,​Object> props, DocRouter router)` Deprecated.
`DocCollection​(String name, Map<String,​Slice> slices, Map<String,​Object> props, DocRouter router, int zkVersion)` Deprecated.