mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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
This commit is contained in:
@@ -270,10 +270,8 @@ public class FullIndexRecoveryComponent extends AbstractReindexComponent
|
|||||||
}
|
}
|
||||||
else // node created
|
else // node created
|
||||||
{
|
{
|
||||||
// get the primary assoc for the node
|
|
||||||
ChildAssociationRef primaryAssocRef = nodeService.getPrimaryParent(nodeRef);
|
|
||||||
// reindex
|
// reindex
|
||||||
indexer.createNode(primaryAssocRef);
|
indexer.updateNode(nodeRef);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// done
|
// done
|
||||||
|
Reference in New Issue
Block a user