MarcusSorealheis commented on a change in pull request #42:
URL: https://github.com/apache/solr/pull/42#discussion_r626131777



##########
File path: solr/core/src/java/org/apache/solr/core/CoreContainer.java
##########
@@ -805,6 +806,12 @@ public void load() {
     containerHandlers.getApiBag().registerObject(clusterAPI);
     containerHandlers.getApiBag().registerObject(clusterAPI.commands);
     containerHandlers.getApiBag().registerObject(clusterAPI.configSetCommands);
+
+    if (this.isZooKeeperAware()) {
+      SchemaDesignerAPI schemaDesignerAPI = new SchemaDesignerAPI(this);
+      containerHandlers.getApiBag().registerObject(schemaDesignerAPI);
+    } // Schema Designer not available in standalone (non-cloud) mode
+

Review comment:
       ahh. That makes sense. I wasn't sure if there would be two different 
personas interfacing, e.g, someone posting to a shared instance a schema they 
have ben toying with locally and another person reviewing the same schema in 
the UI.




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to