Solr 6 managed-schema & version control

2016-07-27 Thread Rachid Bouacheria
Hi All, I am upgrading from solr 4 to 6. In solr 4 I have a schema.xml that is under version control. But solr 6 has the notion of a managed schema that could be modified via a solr api call. This seems great and flexible, but my assumption is that in this case zookeeper becomes the authoritative

Re: Solr 6 managed-schema & version control

2016-07-27 Thread Erick Erickson
Using classic schema is perfectly acceptable/reasonable, you can continue to do so freely (you'll have to change to ClassicSchemaFactory though). Also, you can freely edit managed-schema just as you did schema.xml. The "trick" here is that you have to take some care _not_ to issue commands that mo

Re: Solr 6 managed-schema & version control

2016-07-27 Thread Rachid Bouacheria
Thank you very much Erick, I appreciate your feed back. On Wed, Jul 27, 2016 at 2:24 PM, Erick Erickson wrote: > Using classic schema is perfectly acceptable/reasonable, you can > continue to do so freely (you'll have to change to > ClassicSchemaFactory though). > > Also, you can freely edit man

Re: Solr 6 managed-schema & version control

2016-07-27 Thread John Bickerstaff
Erick - the UI you mention -- something that exists or something that has to be built? (I'm upgrading to version 6 as well and this question is one I'll have to deal with...) On Wed, Jul 27, 2016 at 5:31 PM, Rachid Bouacheria wrote: > Thank you very much Erick, I appreciate your feed back. > >

Re: Solr 6 managed-schema & version control

2016-07-28 Thread Rachid Bouacheria
Jonn, I don't want to answer on Erick's behalf, but I am pretty sure there is no UI built in solr 6 that allows you to update the schema and somehow check it in VCS. I would guess that you could do this by exposing an MBean. Anyway that's how I interpreted Erick's reply. On Wed, Jul 27, 2016 at 6

Re: Solr 6 managed-schema & version control

2016-07-28 Thread John Bickerstaff
Gratzi! On Jul 28, 2016 9:14 PM, "Rachid Bouacheria" wrote: > Jonn, > I don't want to answer on Erick's behalf, but I am pretty sure there is no > UI built in solr 6 that allows you to update the schema and somehow check > it in VCS. I would guess that you could do this by exposing an MBean. > A

Re: Solr 6 managed-schema & version control

2016-07-29 Thread Shawn Heisey
On 7/27/2016 12:37 PM, Rachid Bouacheria wrote: > I know that there still is the option to use schema.xml by using the > ClassicIndexSchemaFactory but I am curious to hear from y'all that use > managed schema how you are doing it and if there are any downside, > gotchas, or if all is just much bett

Re: Solr 6 managed-schema & version control

2016-07-29 Thread Erick Erickson
Rachid is exactly right. There's a long story here, I had the bright idea of editing the schema directly from the admin UI and one of the folks who, you know, understands browsers did the heavy lifting and then we were alerted to the fact that this is a huge security issue (i.e. uploading arbit