Re: Schema Change for Solr 7.4

2018-08-13 Thread Jan Høydahl
Aliases are like pointers to collections that can be used in-place anywhere you'd use the collection name. See https://lucene.apache.org/solr/guide/7_4/collections-api.html#createalias -- Jan Høydahl, search solution arc

Re: Schema Change for Solr 7.4

2018-08-13 Thread THADC
Hi Shawn, thanks for this response. We are probably going to take your suggested approach: 1. Upload a new configset to ZooKeeper. 2. Create a new collection using the new configset. 3. Index data into the new collection. 4. Set up an alias with the original collection name, pointing at the ne

Re: Schema Change for Solr 7.4

2018-08-03 Thread Shawn Heisey
On 8/3/2018 9:09 AM, Joe Lerner wrote: > We recently set up Solr 7.4 in Production. There are 2 Solr nodes, with 3 > zookeepers. We need to make a schema change. What I want to do is simply > push the updated schema to Solr, and then re-index all the content to pick > up the change. But I am being

Re: Schema Change for Solr 7.4

2018-08-03 Thread Walter Underwood
For an in-place migration: 1. Add new fields to the schema. 2. Reindex to populate those fields. 3. Change queries to use those fields and stop using old fields. 4. Stop sending data to old fields, reindex. 5. Remove old fields from the schema. wunder Walter Underwood wun...@wunderwood.org http:/

Re: Schema Change for Solr 7.4

2018-08-03 Thread Christopher Schultz
Joe, On 8/3/18 11:44 AM, Joe Lerner wrote: > OK--yes, I can see how that would work. But it would require some quick > infrastructure flexibility that, at least to this point, we don't really > have. The only thing that needs swapping is the URL that your application uses to connect to Solr, so y

Re: Schema Change for Solr 7.4

2018-08-03 Thread Joe Lerner
OK--yes, I can see how that would work. But it would require some quick infrastructure flexibility that, at least to this point, we don't really have. Joe -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Schema Change for Solr 7.4

2018-08-03 Thread Christopher Schultz
Joe, On 8/3/18 11:09 AM, Joe Lerner wrote: > We recently set up Solr 7.4 in Production. There are 2 Solr nodes, with 3 > zookeepers. We need to make a schema change. What I want to do is simply > push the updated schema to Solr, and then re-index all the content to pick > up the change. But I am b

Schema Change for Solr 7.4

2018-08-03 Thread Joe Lerner
We recently set up Solr 7.4 in Production. There are 2 Solr nodes, with 3 zookeepers. We need to make a schema change. What I want to do is simply push the updated schema to Solr, and then re-index all the content to pick up the change. But I am being told that I need to: 1. Delete the collec