lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nsoft <...@git.apache.org>
Subject [GitHub] lucene-solr pull request #433: SOLR-12357 Premptive creation of collections ...
Date Tue, 28 Aug 2018 18:14:25 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message