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

Packages that use DocRouter
Package | Description
--- | ---
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.request

Methods in org.apache.solr.client.solrj.request with parameters of type DocRouter
Modifier and Type | Method and Description
--- | ---
`Map<String,LBHttpSolrServer.Req>` | UpdateRequest.`getRoutes(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
Modifier and Type | Class and Description
--- | ---
`class` | `CompositeIdRouter`
`class` | `HashBasedRouter`
`class` | `ImplicitDocRouter` This document router is for custom sharding
`class` | `PlainIdRouter`

Fields in org.apache.solr.common.cloud declared as DocRouter
Modifier and Type | Field and Description
--- | ---
`static DocRouter` | DocRouter.`DEFAULT`

Methods in org.apache.solr.common.cloud that return DocRouter
Modifier and Type | Method and Description
--- | ---
`static DocRouter` | DocRouter.`getDocRouter(Object routerName)`
`DocRouter` | DocCollection.`getRouter()`

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