Christine Poerschke created SOLR-8938:
-----------------------------------------

             Summary: add optional -excluderegex argument to ZkCLI
                 Key: SOLR-8938
                 URL: https://issues.apache.org/jira/browse/SOLR-8938
             Project: Solr
          Issue Type: Improvement
            Reporter: Christine Poerschke
            Assignee: Christine Poerschke
            Priority: Minor


Add optional {{-excluderegex}} argument to 
[ZkCLI.java|https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/cloud/ZkCLI.java]
 class.

This change preserves existing behavior (files whose name starts with a . will 
not be uploaded to ZK) if the new optional argument is not specified. If an 
{{-excluderegex}} argument is specified then files matching the regular 
expression won’t be uploaded to ZK.

Additionally, {{ZkConfigManager.uploadToZK}} now info logs the names of the 
files that were skipped from uploading to ZK.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to