From 6675ba0e6e4c801c36973b74ed7e6551168477ae Mon Sep 17 00:00:00 2001 From: Andrew Hind Date: Fri, 1 Jun 2007 12:49:54 +0000 Subject: [PATCH] Fix Full index rebuild with indexes in place git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5824 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../alfresco/repo/node/index/FullIndexRecoveryComponent.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source/java/org/alfresco/repo/node/index/FullIndexRecoveryComponent.java b/source/java/org/alfresco/repo/node/index/FullIndexRecoveryComponent.java index a348a70e98..1bea91b9db 100644 --- a/source/java/org/alfresco/repo/node/index/FullIndexRecoveryComponent.java +++ b/source/java/org/alfresco/repo/node/index/FullIndexRecoveryComponent.java @@ -270,10 +270,8 @@ public class FullIndexRecoveryComponent extends AbstractReindexComponent } else // node created { - // get the primary assoc for the node - ChildAssociationRef primaryAssocRef = nodeService.getPrimaryParent(nodeRef); // reindex - indexer.createNode(primaryAssocRef); + indexer.updateNode(nodeRef); } } // done