node.addProperty(RP.path, doc.getPath());
node.addProperty(RP.summary, doc.getDescription());
node.addProperty(RP.lastUpdate, doc.getLastUpdate());
node.addProperty(RP.directScore, doc.getDirectScore());
node.addProperty(RP.calcScore, doc.getCalcScore());
node.addProperty(RP.documentID, doc.getId());
//set the category attributes
node.addProperty(RP.categoryScore, doc.getCategoryScore());
node.addProperty(RP.categoryName, doc.getCategoryName());
node.addProperty(RP.categoryLocation, doc.getCategoryLocation());