Re: How to change stateFomat to 2

2017-04-18 Thread Erick Erickson
There should be no need to set CLUSTERPROP more than once, it's a characteristic of your entire, well, cluster. See clusterprops.json in your admin UI>>tree view. Best, Erick On Tue, Apr 18, 2017 at 10:21 AM, Manohar Sripada wrote: > Thanks Erick! > state.json exists for each collection in the "

Re: How to change stateFomat to 2

2017-04-18 Thread Manohar Sripada
Thanks Erick! state.json exists for each collection in the "tree" view of admin UI. So, that format is set to 2. I will call the CLUSTERPROP collections API too and set legacyCloud=false whenever I create a collection. Thanks On Tue, Apr 18, 2017 at 8:50 PM, Erick Erickson wrote: > clusterstate

Re: How to change stateFomat to 2

2017-04-18 Thread Erick Erickson
clusterstate.json will exist, it just should be empty if you're using state format 2. Note: if you have "state.json" files under each collections in ZK (see the "tree" view in the admin UI), then you _are_ in the format 2 world. However, for Solr 5.x, there'a an obscure property "legacyCloud" that

How to change stateFomat to 2

2017-04-18 Thread Manohar Sripada
After deleting a collection through Collection API, the data is not getting deleted from clusterstate.json. Based on this discussion , it seems clusterstate.json shouldn't be there for Solr 5.x (I am usi