// document judgment
double judgment = judgmentEntry.getValue();
// set judgment feature
docFeatures.put(JUDGMENT_FEATURE_NAME, new Sum());
docFeatures.get(JUDGMENT_FEATURE_NAME).addScore(judgment);
// initialize doc nodes
for(DocumentNode node : docNodes) {
node.setDocno(docid);