mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
[SEARXCH-1490]
removed canUpdate in indexNonShardCascade method. This is not needed for correctness but creates problems for cross sharding cascading.
This commit is contained in:
+2
-2
@@ -2656,7 +2656,7 @@ public class SolrInformationServer implements InformationServer
|
||||
|
||||
private void indexNonShardCascade(NodeMetaData nodeMetaData) throws IOException
|
||||
{
|
||||
canUpdate();
|
||||
|
||||
UpdateRequestProcessor processor = null;
|
||||
try (SolrQueryRequest request = newSolrQueryRequest())
|
||||
{
|
||||
@@ -2668,7 +2668,7 @@ public class SolrInformationServer implements InformationServer
|
||||
SolrInputDocument input = new SolrInputDocument();
|
||||
input.addField(FIELD_SOLR4_ID, AlfrescoSolrDataModel.getNodeDocumentId(nodeMetaData.getTenantDomain(), nodeMetaData.getAclId(), nodeMetaData.getId()));
|
||||
input.addField(FIELD_VERSION, 0);
|
||||
input.addField(fieldInstance.getField(), stringPropertyValue.toString());
|
||||
input.addField(fieldInstance.getField(), stringPropertyValue.getValue());
|
||||
cmd.solrDoc = input;
|
||||
processor.processAdd(cmd);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user