Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
The current schema API does one operation at a time and the normal usecase is that users add multiple fields/fieldtypes/copyFields etc in one shot.
example
curl http://localhost:8983/solr/collection1/schema -H 'Content-type:application/json' -d '{ "add-field": { "name":"sell-by", "type":"tdate", "stored":true }, "add-field":{ "name":"catchall", "type":"text_general", "stored":false } }
or
curl http://localhost:8983/solr/collection1/schema -H 'Content-type:application/json' -d '{ "add-field":[ { "name":"sell-by", "type":"tdate", "stored":true }, { "name":"catchall", "type":"text_general", "stored":false }] }
Attachments
Attachments
Issue Links
- is related to
-
SOLR-6249 Schema API changes return success before all cores are updated
- Closed