Fix for ACE-4089 SOLR 4 - sharded - Remove the requirement for shard configuration on the Alfresco One Platform

- vanilla support - currently not enterprise only and does not support slave shards

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@111382 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2015-09-03 10:37:33 +00:00
parent c61295f633
commit d6e7d6be06
12 changed files with 613 additions and 378 deletions

View File

@@ -22,6 +22,8 @@ import java.util.List;
import java.util.Map;
import org.alfresco.repo.domain.node.Node;
import org.alfresco.repo.index.shard.ShardRegistry;
import org.alfresco.repo.index.shard.ShardState;
import org.alfresco.service.namespace.QName;
/**
@@ -166,4 +168,17 @@ public interface SOLRTrackingComponent
* @return Long
*/
public Long getMaxChangeSetId();
/**
* Register and update a shard state
* @param shardState
*/
public void registerShardState(ShardState shardState);
/**
* Get the shard registry
* @return the shard registry or null if one is not registered.
* This is an optional feature.
*/
public ShardRegistry getShardRegistry();
}