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

Schema API - Delete copy field not working when the field contains an underscore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 8.3.1
    • 8.5
    • v2 API
    • None

    Description

      Copy field delete statements for the Schema API are not working when the source field contains an underscore (havent tested this for "dest") . If the underscore is removed deletion is working as intended. Another user of Solr seems to have had the same problem and was asked to create a Jira ticket. I can however not find this ticket anywhere hence this ticket. 

      https://lucene.472066.n3.nabble.com/Error-deleting-copy-field-td4393097.html 

      I upgraded to the newest version and the problem still persists.

      It should be simple to reproduce. Just include and underscore in a copy field statement in your schema file and try to delete the copy field using the api, as seen below:

      Attachments

        1. image-2019-12-16-08-54-46-719.png
          55 kB
          Frank Iversen
        2. managed-schema
          32 kB
          Frank Iversen
        3. SOLR-14090.patch
          5 kB
          Munendra S N

        Activity

          People

            munendrasn Munendra S N
            Franki Frank Iversen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: