You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but if the version which is being retracted has latest=true and earlier non-retracted versions exist, then it might be helpful also to restore the latest=true on the latest non-retracted version -- so that it will be found when searching without "show all versions" -- rather than leave it without any versions of the dataset having latest=true.
If this is done, then it would also be necessary to ensure that when publishing a new later version, it would set latest=false on whichever earlier version has latest=true, not necessarily the latest existing version (which might have been retracted). I'm not sure if the existing code would need to be modified to achieve this, but see the lines following this comment:
I see there is code to set
latest=false
when retracting a dataset version:esg-search/src/java/main/esg/search/publish/impl/solr/SolrRetractor.java
Line 82 in f3dbb54
but if the version which is being retracted has
latest=true
and earlier non-retracted versions exist, then it might be helpful also to restore thelatest=true
on the latest non-retracted version -- so that it will be found when searching without "show all versions" -- rather than leave it without any versions of the dataset havinglatest=true
.If this is done, then it would also be necessary to ensure that when publishing a new later version, it would set
latest=false
on whichever earlier version haslatest=true
, not necessarily the latest existing version (which might have been retracted). I'm not sure if the existing code would need to be modified to achieve this, but see the lines following this comment:esg-search/src/java/main/esg/search/publish/thredds/ThreddsCrawler.java
Lines 224 to 225 in f3dbb54
For example:
The text was updated successfully, but these errors were encountered: