} else {
targetNodeHit = uriIndex.get(DBNodeProperties.URI, targetUri);
}
if (!targetNodeHit.hasNext()) {
throw new ActionException(
"Target node does not exists: " + targetUri +
" targetIsComment: " + targetIsComment);
}
return targetNodeHit.getSingle();
}