Thanks for the help everyone. I'm hopeful for the PR, Tomás. That looks to be 
exactly what I was looking for!

Best,
Michael Carroll

On 9/11/20, 8:44 PM, "Tomás Fernández Löbbe" <tomasflo...@gmail.com> wrote:

    *** External email: use caution ***
    
    
    
    I created 
https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Flucene-solr%2Fpull%2F1861&amp;data=02%7C01%7Cm.carroll%40elsevier.com%7C10d16615d6484b13f82008d856b4f94e%7C9274ee3f94254109a27f9fb15c10675d%7C0%7C0%7C637354682569763217&amp;sdata=%2BEfYbYVY94NTlRNJBxjhONpz4fcPkXOh1YgsGK4RF0A%3D&amp;reserved=0
    
    On Fri, Sep 11, 2020 at 11:43 AM Walter Underwood <wun...@wunderwood.org>
    wrote:
    
    > I wrote some Python to get the Zookeeper address from CLUSTERSTATUS, then
    > use the Kazoo library to upload a configset. Then it goes back to the
    > cluster and
    > runs an async command to RELOAD.
    >
    > I really should open source that thing (in my copious free time).
    >
    > wunder
    > Walter Underwood
    > wun...@wunderwood.org
    > 
https://nam03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fobserver.wunderwood.org%2F&amp;data=02%7C01%7Cm.carroll%40elsevier.com%7C10d16615d6484b13f82008d856b4f94e%7C9274ee3f94254109a27f9fb15c10675d%7C0%7C0%7C637354682569763217&amp;sdata=qrnj0iratKmlu8hOosZ%2FC0Ji2P8k7CGE0AAHY9txTJ0%3D&amp;reserved=0
  (my blog)
    >
    > > On Sep 11, 2020, at 9:35 AM, Tomás Fernández Löbbe <
    > tomasflo...@gmail.com> wrote:
    > >
    > > I was in the same situation recently. I think it would be nice to have
    > the
    > > configset UPLOAD command be able to override the existing configset
    > instead
    > > of just fail (with a parameter such as override=true or something). We
    > need
    > > to be careful with the trusted/unstrusted flag there, but that should be
    > > possible.
    > >
    > >> If we can’t modify the configset wholesale this way, is it possible to
    > > create a new configset and swap the old collection to it?
    > > You can create a new one and then call MODIFYCOLLECTION on the 
collection
    > > that uses it:
    > >
    > 
https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flucene.apache.org%2Fsolr%2Fguide%2F8_6%2Fcollection-management.html%23modifycollection-parameters&amp;data=02%7C01%7Cm.carroll%40elsevier.com%7C10d16615d6484b13f82008d856b4f94e%7C9274ee3f94254109a27f9fb15c10675d%7C0%7C0%7C637354682569763217&amp;sdata=RyW%2BE9wbnWVKDjmABk1N82fVIqu10R6mxggsZ%2F7Lxdw%3D&amp;reserved=0
    > .
    > > I've never used that though.
    > >
    > > On Fri, Sep 11, 2020 at 7:26 AM Carroll, Michael (ELS-PHI) <
    > > m.carr...@elsevier.com> wrote:
    > >
    > >> Hello,
    > >>
    > >> I am running SolrCloud in Kubernetes with Solr version 8.5.2.
    > >>
    > >> Is it possible to update a configset being used by a collection using a
    > >> SolrCloud API directly? I know that this is possible using the zkcli
    > and a
    > >> collection RELOAD. We essentially want to be able to checkout our
    > configset
    > >> from source control, and then replace everything in the active
    > configset in
    > >> SolrCloud (other than the schema.xml).
    > >>
    > >> We have a couple of custom plugins that use config files that reside in
    > >> the configset, and we don’t want to have to rebuild the collection or
    > >> access zookeeper directly if we don’t have to. If we can’t modify the
    > >> configset wholesale this way, is it possible to create a new configset
    > and
    > >> swap the old collection to it?
    > >>
    > >> Best,
    > >> Michael Carroll
    > >>
    >
    >
    

Reply via email to