mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
[SEARCH-2109]
Restored shardState with corename parameter
This commit is contained in:
+5
-1
@@ -197,7 +197,10 @@ public abstract class CoreStatePublisher extends AbstractTracker
|
||||
.map(Tracker::getTrackerState)
|
||||
.orElse(transactionsTrackerState);
|
||||
|
||||
HashMap<String, String> extendedPropertyBag = new HashMap<>();
|
||||
HashMap<String, String> propertyBag = new HashMap<>();
|
||||
propertyBag.put("coreName", coreName);
|
||||
|
||||
HashMap<String, String> extendedPropertyBag = new HashMap<>(propertyBag);
|
||||
updateShardProperty();
|
||||
|
||||
extendedPropertyBag.putAll(docRouter.getProperties(shardProperty));
|
||||
@@ -222,6 +225,7 @@ public abstract class CoreStatePublisher extends AbstractTracker
|
||||
.withTemplate(shardTemplate)
|
||||
.withHasContent(transformContent)
|
||||
.withShardMethod(ShardMethodEnum.getShardMethod(shardMethod))
|
||||
.withPropertyBag(propertyBag)
|
||||
.endFloc()
|
||||
.endShard()
|
||||
.endShardInstance()
|
||||
|
||||
Reference in New Issue
Block a user