Re: Managed Schemas and Version Control

2018-07-02 Thread Zimmermann, Thomas
Thanks all! I think we will maintain our current approach of hand editing the configs in git and implement something at the shell level to automate the process of running upconfig and performing a core reload.

Re: Managed Schemas and Version Control

2018-06-29 Thread Walter Underwood
I wrote a Python program that: 1. Gets a cluster status. 2. Extracts the Zookeeper location from that. 3. Uploads solr.xml and config to Zookeeper (using kazoo library). 4. Sends an async reload command. 5. Polls for success until all the nodes have finished the reload. 6. Optionally rebuilds the

Re: Managed Schemas and Version Control

2018-06-29 Thread Erick Erickson
Adding to Shawn's comments. You've pretty much nailed all the possibilities, it depends on what you're most comfortable with I suppose. The only thing I'd add is that you probably have dev and prod environments and work out the correct schemas on dev then migrate to prod (at least that's what par

Re: Managed Schemas and Version Control

2018-06-29 Thread Shawn Heisey
On 6/29/2018 3:26 PM, Zimmermann, Thomas wrote: > We're transitioning from Solr 4.10 to 7.x and working through our options > around managing our schemas. Currently we manage our schema files in a git > repository, make changes to the xml files, Hopefully you've got the entire config in version

Managed Schemas and Version Control

2018-06-29 Thread Zimmermann, Thomas
Hi, We're transitioning from Solr 4.10 to 7.x and working through our options around managing our schemas. Currently we manage our schema files in a git repository, make changes to the xml files, and then push them out to our zookeeper cluster via the zkcli and the upconfig command like: /apps