ESGF/esg-search

Support retraction of datasets

LucaCinquini opened this issue · 2 comments

Who: DKRZ

When a dataset is "retracted" from the ESGF system, we want to remove all files and aggregations (so that data cannot be downloaded), but we still want to maintain the dataset record in the Solr index so it can be referenced later. We need to mark this dataset as "retracted=true".

Now the Solr schema has a new boolean field called "retracted" which is by default false. Server-side capability exists to retract a dataset, meaning:
o set retracted=true for the dataset record (and also latest=false)
o remove all associated files and aggregations from the Solr index.

The installer will automatically upgrade the Solr schema to the latest version found in
etc/conf/solr-home/mycore/conf/schema.xml, for both the master and the local-shard installation
(not for the slave or replica shards).