ScoreDocComparator comparator = scs.newComparator(reader, innerProperty.toString());
ScoreNode[] nodes;
// create lookup map
while ((nodes = inner.nextScoreNodes()) != null) {
sDoc.doc = nodes[innerScoreNodeIndex].getDoc(reader);
Comparable value = comparator.sortValue(sDoc);
if (value != null) {
innerScoreNodes.addScoreNodes(value, nodes);
}
}
}