You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christine Poerschke (JIRA)" <ji...@apache.org> on 2016/04/14 16:19:25 UTC
[jira] [Reopened] (SOLR-8938) add optional -excluderegex argument
to ZkCLI
[ https://issues.apache.org/jira/browse/SOLR-8938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christine Poerschke reopened SOLR-8938:
---------------------------------------
Re-opening, the {{\-excluderegex}} descriptions in this JIRA and in CHANGES.txt are in fact long-form {{--excluderegex}} and this re-opening is to add a {{\-x}} short-form also.
([ZkCLITest.java|https://github.com/apache/lucene-solr/blob/master/solr/core/src/test/org/apache/solr/cloud/ZkCLITest.java] uses the long-form variant of all the arguments, though it seems in short-form style i.e. just one {{\-}} instead of two {{\-\-}} hyphens. CLI-264 sounds related.)
> 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
> Fix For: master, 6.1
>
> Attachments: SOLR-8938-part2.patch, SOLR-8938.patch
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org