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://observer.wunderwood.org/ (my blog) > On Aug 3, 2018, at 8:48 AM, Christopher Schultz > <ch...@christopherschultz.net> wrote: > > 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 you don't need anything terribly complicated to > proxy it. > > Something like Squid would work, and you'd only have a few seconds of > downtime to set it up initially, and then another few seconds to swap later. > > Heck, you can even remove the proxy after you are all done. It doesn't > have to be a permanent fixture in your infrastructure. > > -chris >