Class AffinityReplicaListTransformerFactory

    • Constructor Detail

      • AffinityReplicaListTransformerFactory

        public AffinityReplicaListTransformerFactory()
      • AffinityReplicaListTransformerFactory

        public AffinityReplicaListTransformerFactory​(String defaultDividendParam,
                                                     String defaultHashParam)
      • AffinityReplicaListTransformerFactory

        public AffinityReplicaListTransformerFactory​(NamedList<?> c)
    • Method Detail

      • getInstance

        public ReplicaListTransformer getInstance​(String configSpec,
                                                  SolrParams requestParams,
                                                  ReplicaListTransformerFactory fallback)
        Specified by:
        getInstance in interface ReplicaListTransformerFactory
        Parameters:
        configSpec - spec for dynamic configuration of ReplicaListTransformer
        requestParams - the request parameters for which the ReplicaListTransformer is being generated
        fallback - used to generate fallback value; the getInstance() method of the specified fallback must not return null; The fallback value itself may be null if this implementation is known to never return null (i.e., if fallback will never be needed)
        Returns:
        ReplicaListTransformer to be used for routing this request