use of eu.europeana.metis.sandbox.common.exception.DatasetIndexRemoveException in project metis-sandbox by europeana.
the class IndexingServiceImpl method remove.
@Override
public void remove(String datasetId) {
requireNonNull(datasetId, "Dataset id must not be null");
try {
previewIndexer.removeAll(datasetId, null);
publishIndexer.removeAll(datasetId, null);
} catch (IndexingException e) {
throw new DatasetIndexRemoveException(datasetId, e);
}
}
Aggregations