Re: schema-api: modifying schema in xml format

2018-04-18 Thread Arturas Mazeika
Hi Steve, it is reasonable that schema api understand the commands only JSON. Great that you'll update the ref guide. Thanks for taking care of it. Nice of you :-) Cheers, Arturas On Wed, Apr 18, 2018 at 3:27 PM, Steve Rowe wrote: > Hi Arturas, > > The Schema API only

Re: schema-api: modifying schema in xml format

2018-04-18 Thread Steve Rowe
Hi Arturas, The Schema API only understands commands in JSON. I looked through the ref guide page, and I’m surprised that this isn’t stated directly; I’ll try to fix that. -- Steve www.lucidworks.com > On Apr 18, 2018, at 4:12 AM, Arturas Mazeika wrote: > > Hi

schema-api: modifying schema in xml format

2018-04-18 Thread Arturas Mazeika
Hi solr-users, is it possible to modify the managed schema using schema api and submit the commands in XML format? I am able to add a data type using: curl -X POST -H 'Content-type:application/json' --data-binary '{ "add-field-type": { "name":"text_de_ph", "class":"solr.TextField",