Class RoutingRule

java.lang.Object
org.apache.solr.common.cloud.ZkNodeProps
org.apache.solr.common.cloud.RoutingRule
All Implemented Interfaces:
MapSerializable, MapWriter, NavigableObject, org.noggit.JSONWriter.Writable

public class RoutingRule extends ZkNodeProps
Used for routing docs with particular keys into another collection
  • Constructor Details

  • Method Details

    • getRouteRanges

      public List<DocRouter.Range> getRouteRanges()
    • getTargetCollectionName

      public String getTargetCollectionName()
    • makeExpiryAt

      public static String makeExpiryAt(long timeMsFromNow)
    • isExpired

      public boolean isExpired()
    • getRouteRangesStr

      public String getRouteRangesStr()
    • toString

      public String toString()
      Overrides:
      toString in class ZkNodeProps