[
https://issues.apache.org/jira/browse/SOLR-16967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17769404#comment-17769404
]
ASF subversion and git services commented on SOLR-16967:
--------------------------------------------------------
Commit ac336ad21d3d29b6542a90cb59e2708f69c677d4 in solr's branch
refs/heads/branch_9x from David Smiley
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=ac336ad21d3 ]
SOLR-16967: ConfigSet: shouldn't require solrconfig.xml (#1900)
ConfigSetService.checkConfigExists() should not require solrconfig.xml to
exist; the parent directory's existence is fine. Users may choose for their
config to be a different name, after all.
(cherry picked from commit 4c80cc2ef9e50915fb7aaa6e9cfe042a27d2c44d)
> ConfigSetService.checkConfigExists should not depend on solrconfig.xml
> existing
> -------------------------------------------------------------------------------
>
> Key: SOLR-16967
> URL: https://issues.apache.org/jira/browse/SOLR-16967
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: David Smiley
> Assignee: David Smiley
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> ConfigSetService.checkConfigExists is defined rather generally; it makes no
> mention of solrconfig.xml. Yet both implementations (FileSystem & Zk) look
> for solrconfig.xml specifically. They need not do this, and it's
> presumptuous to assume this specific file since a CoreDescriptor can refer to
> a different/custom file. So this change is to only look for the directory.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]