Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Remove overly aggresive check, you don't have to call it /conf (#3551)

Eric Pugh9ac3c6dd20fe
diff --git a/solr/core/src/java/org/apache/solr/core/ConfigSetService.java b/solr/core/src/java/org/apache/solr/core/ConfigSetService.java
index 9cecd032eea..520177a54c7 100644
--- a/solr/core/src/java/org/apache/solr/core/ConfigSetService.java
+++ b/solr/core/src/java/org/apache/solr/core/ConfigSetService.java
@@ -117,11 +117,6 @@ public abstract class ConfigSetService {
}
private void bootstrapConfDir(String confDir) throws IOException {
- if (!confDir.endsWith("conf")) {
- throw new IllegalArgumentException(
- "solr.configset.bootstrap.confdir must point to 'conf' directory, confDir: " + confDir);
- }
-
Path configPath = resolvePathWithSolrInstallDir(confDir);
if (!Files.isDirectory(configPath)) {