Re: Updating solr schema for a collection in place

2016-06-21 Thread Erick Erickson
Well, if it works... changing schema factories should be fine, assuming you've correctly configured before reload, I.e. point at the right schema file etc. My comments were more thinking about changing the schema rather than the config. Best, Erick On Jun 20, 2016 10:26 PM, "Stephen Lewis" wrote:

Re: Updating solr schema for a collection in place

2016-06-20 Thread Stephen Lewis
Oh, also I see when I first replied, I missed addressing this > For instance, > ​ ​ > having a field defined with docValues set to false, indexing some data > then changing that field to docValues="true" and indexing some more data will give you "interesting" results. The way we update our dat

Re: Updating solr schema for a collection in place

2016-06-20 Thread Stephen Lewis
​Thanks for the advice! I haven't encountered those nuances yet so it's great to be aware of them now. I manage our solr clouds through an OO python package which models our search stack. We use this package deploy to stacks which are isolated and configurable, but otherwise identical. We push our

Re: Updating solr schema for a collection in place

2016-06-20 Thread Erick Erickson
Glad you found the issue. The switch to managed has tripped up more people than just you! Do be a little cautious about changing the schema however. There are some "benign" changes you can do when you already have data indexed and a series of others that are not benign. For instance, having a fiel

Re: Updating solr schema for a collection in place

2016-06-20 Thread Stephen Lewis
I'm happy to say I figured out the issue. Looking through previous questions in this forum, I was able to find someone hitting the same issue which I was. After upgrading versions, we switched to the managed instead of the ClassicIndexSchemaFactory unintentionally. Sorry for the bother! On Mon, Ju

Updating solr schema for a collection in place

2016-06-20 Thread Stephen Lewis
Hello, I've recently set up a solr cloud using solr 6.0, and I've been having some trouble getting our collections to pick up schema updates. Following the docs on zkcli.sh and the collections API