dsmiley commented on code in PR #5370:
URL: https://github.com/apache/solr/pull/5370#discussion_r4675278613


##########
solr/core/src/java/org/apache/solr/core/ConfigSetService.java:
##########
@@ -156,6 +157,20 @@ private void bootstrapConfDir(String confDir) throws 
IOException {
     this.uploadConfig(confName, configPath);
   }
 
+  private void bootstrapMultilingualConf() throws IOException {

Review Comment:
   There's a serious smell here that this issue should touch ConfigSetService!  
I'm definitely against this, sorry.
   
   If we want to potentially upload multiple configSets to ZK, there should be 
a comma delimimted list somewhere and ConfigSetService should then have no 
hard-coded notion of multilingual; it just loops and uploads the named 
configsets, whatever they may be.  Just an idea.  OR (better, no new code), if 
this is just one confgset in addition to `_default`, then there are sys props 
in ConfigSetService / functionality that can be set to upload a named configset 
in addition.



##########
solr/core/src/test/org/apache/solr/cloud/TestConfigSetsAPI.java:
##########
@@ -1711,7 +1711,7 @@ public void testList() throws Exception {
       ConfigSetAdminRequest.List list = new ConfigSetAdminRequest.List();
       ConfigSetAdminResponse.List response = list.process(solrClient);
       Collection<String> actualConfigSets = response.getConfigSets();
-      assertEquals(1, actualConfigSets.size()); // only the _default configset
+      assertEquals(Set.of("_default", "_multilingual"), 
Set.copyOf(actualConfigSets));

Review Comment:
   -1 don't want multilingual by default



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to