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

Bulk Schema API incorrectly accepts a dynamic field creation request with required=true and/or a default value

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 5.3
    • Fix Version/s: None
    • Component/s: Schema and Analysis
    • Labels:
      None

      Description

      The schema API refuses to create a dynamic field with required=true, but accepts one that has a default value. This creates a schema that cannot be loaded.

        Attachments

        1. SOLR-8154.patch
          5 kB
          Steve Rowe
        2. SOLR-8154.patch
          7 kB
          Steve Rowe

          Issue Links

            Activity

              People

              • Assignee:
                steve_rowe Steve Rowe
                Reporter:
                upayavira Upayavira
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: