epugh commented on pull request #753:
URL: https://github.com/apache/solr/pull/753#issuecomment-1075441419


   Thank you for looking @madrob and @janhoy...    So the first version that 
@ackepenek had was basically the "Add field type Template".   You just put in 
the JSON, without the `add-field-template` command.   My gut feeling is that 
this is a tool that people coming from using Postman or other JSON syntax 
native tools, who don't want to figure out how to craft the perfect URL, would 
benefit from.   Those people would already have the command in it...
   
   This does make me wonder, is the real utility of this screen that you can 
take your JSON commands and just paste them in and run them wihtout crafting 
the URL, or figuring out any security etc because you are in the admin tool?   
   
   Maybe what we really want is to support what 
https://solr.apache.org/guide/8_11/schema-api.html#multiple-commands-in-a-single-post
 suggests.   What if this was the "Scripted Schema Modifications"?   We 
reference the schema api docs, and you can mix up your various commands, 
`add-field-type`, `add-field`, `delete-field` etc?  They all go through the 
same `Schema.post` command anyway, right?  
   
   This would let me take my `setup-experiment-schema.json` file that i already 
might have, and not have to worry about postman etc, just cut n paste right 
into solr.    It also would be more clearly not a "Here is the simple 
accessible 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.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

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