This is an automated email from the ASF dual-hosted git repository.
epugh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/main by this push:
new 9ac3c6dd20f Remove overly aggresive check, you don't have to call it
/conf (#3551)
9ac3c6dd20f is described below
commit 9ac3c6dd20fe8c831da9dbd83b8a543e4e06b555
Author: Eric Pugh <[email protected]>
AuthorDate: Fri Aug 29 09:43:05 2025 -0400
Remove overly aggresive check, you don't have to call it /conf (#3551)
This was meant to be part of https://github.com/apache/solr/pull/3512.
---
solr/core/src/java/org/apache/solr/core/ConfigSetService.java | 5 -----
1 file changed, 5 deletions(-)
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)) {