noblepaul commented on pull request #1863:
URL: https://github.com/apache/lucene-solr/pull/1863#issuecomment-698728576


   I recommend a new request handler such as `/update/guess-schema`
   
   This way we do not need to add any new functionality, nor do we need to pass 
any extra params
   
   ```
   curl -F '[email protected]' 
http://localhost:8983/gettingstarted/update/guess-schema
   ```
   The response can be 
   
   ```
   curl -X POST -H 'Content-type: application/json' -d '{"add-field":[
   {
   "name":"id",  
   "type":"string",
    "stored":true },
   {
   "name":"desc",  
   "type":"text",
    "stored":true
    }
   ]}' http://localhost:8983/solr/gettingstarted/schema
   
   
   


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

Reply via email to