Class DateMonthRouter

    • Field Detail

      • log

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

      • DateMonthRouter

        public DateMonthRouter​(String groupparam)
        Creates a date month router
        Parameters:
        groupparam - - the number of months that should be grouped together on a shard before moving to use the next shard in sequence
    • Method Detail

      • routeAcl

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

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