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

Schema API should never delete fields used elsewhere in the schema

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 6.1
    • None
    • Schema and Analysis
    • None

    Description

      The Schema API should refuse to delete a field if it can detect that the deletion would cause the schema to fail to load.

      This includes the field assigned to uniqueKey, fields used as copyField sources, and fields used as copyField destinations. There may be other detectable problems that haven't been listed here.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              elyograg Shawn Heisey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: