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


##########
solr/core/src/java/org/apache/solr/handler/designer/SchemaDesignerConfigSetHelper.java:
##########
@@ -585,6 +589,35 @@ ManagedIndexSchema loadLatestSchema(String configSet) {
     return loadLatestSchema(loadSolrConfig(configSet));
   }
 
+  List<Language> listAvailableLanguages() throws IOException {
+    if 
(!cc.getConfigSetService().checkConfigExists(MULTILINGUAL_CONFIGSET_NAME)) {
+      return List.of();
+    }
+    return 
loadLatestSchema(MULTILINGUAL_CONFIGSET_NAME).getFieldTypes().values().stream()

Review Comment:
   I'm honestly not too worried about backwards compatiblity, just cause I 
think this is very small set of folks...   I think we should mention this in 
the upgrade notes?



-- 
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