Github user nsoft commented on a diff in the pull request:
https://github.com/apache/lucene-solr/pull/433#discussion_r213403086
--- Diff:
solr/core/src/java/org/apache/solr/cloud/api/collections/TimeRoutedAlias.java
---
@@ -141,6 +145,9 @@ public TimeRoutedAlias(String aliasName, Map<String,
String> aliasMetadata) {
//optional:
maxFutureMs = params.getLong(ROUTER_MAX_FUTURE,
TimeUnit.MINUTES.toMillis(10));
+ // the date math configured is an interval to be subtracted from the
most recent collection's time stamp
+ preemptiveCreateMath = params.get(ROUTER_PREEMPTIVE_CREATE_MATH) !=
null ?
--- End diff --
ok
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]