mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
Revert "[SEARCH-2143] restored node deletion before update"
This reverts commit 010f5380
This commit is contained in:
+3
-2
@@ -1666,7 +1666,7 @@ public class SolrInformationServer implements InformationServer
|
||||
AddUpdateCommand addDocCmd = new AddUpdateCommand(request);
|
||||
addDocCmd.overwrite = overwrite;
|
||||
|
||||
deleteNode(processor, request, node);
|
||||
deleteErrorNode(processor, request, node);
|
||||
|
||||
// Check index control
|
||||
Map<QName, PropertyValue> properties = nodeMetaData.getProperties();
|
||||
@@ -2011,7 +2011,8 @@ public class SolrInformationServer implements InformationServer
|
||||
}
|
||||
|
||||
// Make sure any unindexed or error doc is removed.
|
||||
deleteNode(processor, request, node);
|
||||
deleteErrorNode(processor, request, node);
|
||||
|
||||
addDocCmd.solrDoc =
|
||||
populateWithMetadata(basicDocument(nodeMetaData, DOC_TYPE_NODE, PartialSolrInputDocument::new),
|
||||
nodeMetaData);
|
||||
|
||||
Reference in New Issue
Block a user