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

Modify collection API should support un-setting properties

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.5, 8.0
    • Component/s: SolrCloud
    • Labels:
      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.patch
          32 kB
          Shalin Shekhar Mangar
        2. SOLR-12507.patch
          33 kB
          Shalin Shekhar Mangar
        3. SOLR-12507-null-values.patch
          13 kB
          Shalin Shekhar Mangar

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: