diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index 61daacebc03..32830c7a051 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -376,6 +376,9 @@ Bug Fixes but 'bin/solr create' tells users to use the default action 'set-property', which fails because the property is not editable. (Steve Rowe) +* SOLR-12416: When creating a time routed alias, the router.autoDeleteAge option wasn't considered. + (Joachim Sauer via David Smiley) + Optimizations ---------------------- diff --git a/solr/core/src/java/org/apache/solr/cloud/api/collections/TimeRoutedAlias.java b/solr/core/src/java/org/apache/solr/cloud/api/collections/TimeRoutedAlias.java index 5cbc625b435..312e7369f5a 100644 --- a/solr/core/src/java/org/apache/solr/cloud/api/collections/TimeRoutedAlias.java +++ b/solr/core/src/java/org/apache/solr/cloud/api/collections/TimeRoutedAlias.java @@ -80,8 +80,10 @@ public class TimeRoutedAlias { /** * Optional parameters for creating a routed alias excluding parameters for collection creation. */ + //TODO lets find a way to remove this as it's harder to maintain than required list public static final List OPTIONAL_ROUTER_PARAMS = Collections.unmodifiableList(Arrays.asList( ROUTER_MAX_FUTURE, + ROUTER_AUTO_DELETE_AGE, TZ)); // kinda special static Predicate PARAM_IS_PROP =