code: public void updateIndex(final Set<String> removedNodes, final Set<String> addedNodes) throws RepositoryException,
        IOException
     {
        final ChangesHolder changes = getChanges(removedNodes, addedNodes);
        apply(changes);
     }
docs: {@inheritDoc}