Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-4898 Flesh out the Schema REST API
  3. SOLR-6141

Schema API: Remove fields, dynamic fields, field types and copy fields; and replace fields, dynamic fields and field types

    XMLWordPrintableJSON

Details

    Description

      It should be possible, via the bulk schema API, to remove and replace the following:

      1. fields
      2. dynamic fields
      3. field types
      4. copy field directives (note: replacement is not applicable to copy fields)

      Removing schema elements that are referred to elsewhere in the schema must be guarded against:

      1. Removing a field type should be disallowed when there are fields or dynamic fields of that type.
      2. Removing a field should be disallowed when there are copy field directives that use the field as source or destination.
      3. Removing a dynamic field should be disallowed when it is the only possible match for a copy field source or destination.

      Attachments

        1. SOLR-6141.patch
          111 kB
          Steven Rowe
        2. SOLR-6141.patch
          106 kB
          Steven Rowe
        3. SOLR-6141-fix-TestBulkSchemaConcurrent.patch
          4 kB
          Steven Rowe

        Issue Links

          Activity

            People

              sarowe Steven Rowe
              cstrobl Christoph Strobl
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: