# Package org.apache.solr.client.solrj.routing

Classes to handle query routing preferences

See: Description

Interface Summary
ReplicaListTransformer
ReplicaListTransformerFactory

Class Summary
AffinityReplicaListTransformer: Allows better caching by establishing deterministic evenly-distributed replica routing preferences according to either explicitly configured hash routing parameter, or the hash of a query parameter (configurable, usually related to the main query).
AffinityReplicaListTransformerFactory: Factory for constructing an `AffinityReplicaListTransformer` that reorders replica routing preferences deterministically, based on request parameters.
NodePreferenceRulesComparator: This comparator makes sure that the given replicas are sorted according to the given list of preferences.
PreferenceRule
RequestReplicaListTransformerGenerator
ShufflingReplicaListTransformer

## Package org.apache.solr.client.solrj.routing Description

Classes to handle query routing preferences