Anstatt zu entfernen, versuchen Sie $pull Methodencode wie unten
BasicDBObject match = new BasicDBObject("_id", object id here);
BasicDBObject update = new BasicDBObject("nodes", new BasicDBObject("index", 7)))
node_info.update(match, new BasicDBObject("$pull", update);