Class PropertyRouter

  • All Implemented Interfaces:
    DocRouter

    public class PropertyRouter
    extends Object
    implements DocRouter
    Routes based on a text property field.
    Author:
    Gethin James
    • Field Detail

      • log

        protected static final org.slf4j.Logger log
    • Constructor Detail

      • PropertyRouter

        public PropertyRouter​(String propertyRegEx)
    • Method Detail

      • routeAcl

        public boolean routeAcl​(int shardCount,
                                int shardInstance,
                                org.alfresco.solr.client.Acl acl)
        Specified by:
        routeAcl in interface DocRouter
      • routeNode

        public boolean routeNode​(int shardCount,
                                 int shardInstance,
                                 org.alfresco.solr.client.Node node)
        Specified by:
        routeNode in interface DocRouter