TermDocs tDocs = reader.termDocs();
try {
ItemStateManager ism = getContext().getItemStateManager();
for (Iterator it = removedNodeIds.iterator(); it.hasNext(); ) {
NodeId id = (NodeId) it.next();
aggregateUUIDs = aggregateUUIDs.createTerm(
id.getUUID().toString());
tDocs.seek(aggregateUUIDs);
while (tDocs.next()) {
Document doc = reader.document(tDocs.doc(), FieldSelectors.UUID);
String uuid = doc.get(FieldNames.UUID);