Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12507

Modify collection API should support un-setting properties

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 7.5, 8.0
    • SolrCloud
    • None

    Description

      Modify Collection API can only create/set values today. There should be a way to delete values using the API.

      Proposed syntax:

      /admin/collections?action=MODIFYCOLLECTION&property.unset=policy&withCollection=
      

      A blank parameter value will delete the property from the collection.

      Attachments

        1. SOLR-12507-null-values.patch
          13 kB
          Shalin Shekhar Mangar
        2. SOLR-12507.patch
          33 kB
          Shalin Shekhar Mangar
        3. SOLR-12507.patch
          32 kB
          Shalin Shekhar Mangar

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            shalin Shalin Shekhar Mangar
            shalin Shalin Shekhar Mangar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment