Class DateQuarterRouter

java.lang.Object
org.alfresco.solr.tracker.DateQuarterRouter
All Implemented Interfaces:
DocRouter

@Deprecated public class DateQuarterRouter extends Object implements DocRouter
Deprecated.
This DocRouter has been deprecated because it is a special case of DateMonthRouter with a grouping parameter equal to 3.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    routeAcl(int numShards, int shardInstance, org.alfresco.solr.client.Acl acl)
    Deprecated.
    Checks if the incoming ACL document must be indexed on this shard.
    routeNode(int numShards, int shardInstance, org.alfresco.solr.client.Node node)
    Deprecated.
    Checks if the incoming Node must be indexed on this shard.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.alfresco.solr.tracker.DocRouter

    getProperties
  • Constructor Details

    • DateQuarterRouter

      public DateQuarterRouter()
      Deprecated.
  • Method Details

    • routeAcl

      public Boolean routeAcl(int numShards, int shardInstance, org.alfresco.solr.client.Acl acl)
      Deprecated.
      Description copied from interface: DocRouter
      Checks if the incoming ACL document must be indexed on this shard.
      Specified by:
      routeAcl in interface DocRouter
      Parameters:
      numShards - the total shard count.
      shardInstance - the owning shard instance (i.e. instance number).
      acl - the ACL.
      Returns:
      true if the ACL must be indexed in the shard which owns this DocRouter instance, false otherwise.
    • routeNode

      public Boolean routeNode(int numShards, int shardInstance, org.alfresco.solr.client.Node node)
      Deprecated.
      Description copied from interface: DocRouter
      Checks if the incoming Node must be indexed on this shard.
      Specified by:
      routeNode in interface DocRouter
      Parameters:
      numShards - the total shard count.
      shardInstance - the owning shard instance (i.e. instance number).
      node - the Node instance.
      Returns:
      true if the Node instance must be indexed in the shard which owns this DocRouter instance, false otherwise.