Package org.apache.solr.client.solrj.routing
package org.apache.solr.client.solrj.routing
Classes to handle query routing preferences
-
ClassDescriptionAllows 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).Factory for constructing an
AffinityReplicaListTransformerthat reorders replica routing preferences deterministically, based on request parameters.This comparator makes sure that the given replicas are sorted according to the given list of preferences.