Thanks David! I filed SOLR-10137 to fix this issue.

-Hrishikesh


On Fri, Feb 10, 2017 at 9:21 PM, David Smiley <[email protected]>
wrote:

> Makes sense to me -- new configsets _should_ be mutable by default, even
> if it's from a copy that's immutable.
>
> On Thu, Feb 9, 2017 at 2:38 PM Hrishikesh Gadre <[email protected]>
> wrote:
>
>> Hi,
>>
>> SOLR-7742 <https://issues.apache.org/jira/browse/SOLR-7742> introduced
>> support for "immutable" config-sets in SOLR. This allows system
>> administrators to define config-set templates a-priori (e.g. based on
>> managed schema vs schemaless etc.) and then users can use configset APIs to
>> define new configurations for the collections they want to create.
>>
>> https://cwiki.apache.org/confluence/display/solr/ConfigSets+API
>>
>> One problem I notice here (based on Solr 6.3) is that when a user creates
>> a new config-set by referring to an existing "immutable" config-set, the
>> new config-set is also defined as "immutable" unless user explicitly
>> specify immutable=false as part of the create operation.
>>
>> This is a bit problematic since Solr does not allow deleting an immutable
>> config-set via an API.
>> https://github.com/apache/lucene-solr/blob/0b817e6e495c40496b7cedc6f06060
>> e43e5e2afc/solr/core/src/java/org/apache/solr/cloud/
>> OverseerConfigSetMessageHandler.java#L369-L371
>>
>> I think we should change this behavior so that when a user creates a new
>> config set using an API, it is always mutable (i.e. immutable=false). This
>> will enable users to delete the config sets they created using the API.
>>
>> What do you think? I can file a jira if this make sense.
>>
>> Thanks
>> Hrishikesh
>>
>>
>> --
> Lucene/Solr Search Committer, Consultant, Developer, Author, Speaker
> LinkedIn: http://linkedin.com/in/davidwsmiley | Book: http://www.
> solrenterprisesearchserver.com
>

Reply via email to