updateIndex("delete", resourceType, pubId, area, uuid, language);
}
public void index(Session session, ResourceType resourceType, String pubId, String area,
String uuid, String language) throws IndexException {
DocumentFactory factory = DocumentUtil.createDocumentFactory(this.manager, session);
try {
Publication pub = factory.getPublication(pubId);
Area areaObj = pub.getArea(area);
if (areaObj.contains(uuid, language)) {
updateIndex("index", resourceType, pubId, area, uuid, language);
} else {
getLogger().debug(