thelabdude commented on a change in pull request #42:
URL: https://github.com/apache/solr/pull/42#discussion_r626109518
##########
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:
Not sure? The API is mostly intended to support the UI ... this feature
needs UI and I don't foresee too many people wanting to interact with the
Schema Designer API directly w/o using the Web Admin UI. The Schema Designer
link in the Admin UI should not even appear in standalone mode.
--
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]