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

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment