Package org.alfresco.solr.tracker
Class DateQuarterRouter
- java.lang.Object
-
- org.alfresco.solr.tracker.DateQuarterRouter
-
- All Implemented Interfaces:
DocRouter
@Deprecated public class DateQuarterRouter extends java.lang.Object implements DocRouter
Deprecated.ThisDocRouterhas been deprecated because it is a special case ofDateMonthRouterwith a grouping parameter equal to 3.- See Also:
DateMonthRouter, Search Services sharding methods
-
-
Constructor Summary
Constructors Constructor Description DateQuarterRouter()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.BooleanrouteAcl(int numShards, int shardInstance, org.alfresco.solr.client.Acl acl)Deprecated.Checks if the incoming ACL document must be indexed on this shard.java.lang.BooleanrouteNode(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
-
-
-
-
Method Detail
-
routeAcl
public java.lang.Boolean routeAcl(int numShards, int shardInstance, org.alfresco.solr.client.Acl acl)Deprecated.Description copied from interface:DocRouterChecks if the incoming ACL document must be indexed on this shard.
-
routeNode
public java.lang.Boolean routeNode(int numShards, int shardInstance, org.alfresco.solr.client.Node node)Deprecated.Description copied from interface:DocRouterChecks if the incoming Node must be indexed on this shard.- Specified by:
routeNodein interfaceDocRouter- Parameters:
numShards- the total shard count.shardInstance- the owning shard instance (i.e. instance number).node- theNodeinstance.- Returns:
- true if the
Nodeinstance must be indexed in the shard which owns thisDocRouterinstance, false otherwise.
-
-