Re: Replacing the entire schema using schema API

2018-01-05 Thread Erick Erickson
We (well, me and one of the UI guys) had the brilliant idea of editing the configs through the admin UI. Turns out it wasn't all that brilliant given security issues, see Uwe Schindler's comments here: https://issues.apache.org/jira/browse/SOLR-5287 on November 30th. So before raising a JIRA you

Re: Replacing the entire schema using schema API

2018-01-05 Thread André Widhani
Hi Shawn, thanks for confirming. I am not using Solr Cloud (I forgot to mention that), or at least not in all instances where that particular piece of code would be used. I'll think about opening a Jira issue, or just doing it iteratively through the API. Regards, André 2018-01-05 15:05 GMT+0

Re: Replacing the entire schema using schema API

2018-01-05 Thread Shawn Heisey
On 1/5/2018 6:51 AM, André Widhani wrote: I know I can retrieve the entire schema using Schema API and I can also use it to manipulate the schema by adding fields etc. I don't see any way to post an entire schema file back to the Schema API though ... this is what most REST APIs offer: You retri

Replacing the entire schema using schema API

2018-01-05 Thread André Widhani
Hi, I know I can retrieve the entire schema using Schema API and I can also use it to manipulate the schema by adding fields etc. I don't see any way to post an entire schema file back to the Schema API though ... this is what most REST APIs offer: You retrieve an object, modify it and send back