mirror of https://github.com/apache/lucene.git
SOLR-12416: When creating a time routed alias, the router.autoDeleteAge option wasn't considered.
This commit is contained in:
parent
772e171ac6
commit
c22da7d7a9
|
@ -376,6 +376,9 @@ Bug Fixes
|
||||||
but 'bin/solr create' tells users to use the default action 'set-property', which fails
|
but 'bin/solr create' tells users to use the default action 'set-property', which fails
|
||||||
because the property is not editable. (Steve Rowe)
|
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
|
Optimizations
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
|
|
@ -80,8 +80,10 @@ public class TimeRoutedAlias {
|
||||||
/**
|
/**
|
||||||
* Optional parameters for creating a routed alias excluding parameters for collection creation.
|
* 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<String> OPTIONAL_ROUTER_PARAMS = Collections.unmodifiableList(Arrays.asList(
|
public static final List<String> OPTIONAL_ROUTER_PARAMS = Collections.unmodifiableList(Arrays.asList(
|
||||||
ROUTER_MAX_FUTURE,
|
ROUTER_MAX_FUTURE,
|
||||||
|
ROUTER_AUTO_DELETE_AGE,
|
||||||
TZ)); // kinda special
|
TZ)); // kinda special
|
||||||
|
|
||||||
static Predicate<String> PARAM_IS_PROP =
|
static Predicate<String> PARAM_IS_PROP =
|
||||||
|
|
Loading…
Reference in New Issue