if (!event.isSearchable())
searchService.remove(eventId);
else if (searchService.hasIndexed(eventId))
searchService.update(event, tickets);
else
searchService.create(event, tickets);
ObjectNode obj = new ObjectNode(JsonNodeFactory.instance);
obj.putAll(transaction.getJSONObject());
return renderOK(obj);
}