if (! (entity instanceof EntityContent)) {
throw new ProducerFailure("UnIndexingProducerNode: value of '"+contentKey+"' is not a content EntityAdapter, but a " + entity.getClass().getName() + " adapter", null);
}
- aLogger.info("UnIndexing " + (String) entity.getValue("id") + " out of " + index);
+ aLogger.info("UnIndexing " + (String) entity.getFieldValue("id") + " out of " + index);
IndexUtil.unindexEntity((EntityContent) entity, index);
}