[ https://issues.apache.org/jira/browse/SOLR-8154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Rowe updated SOLR-8154: ----------------------------- Attachment: SOLR-8154.patch Updated patch, including CHANGES.txt entry, and changing the expected error message in {{TestBulkSchemaAPI.testMultipleAddFieldWithErrors()}} which was affected by the {{add-field}} command switch from {{SchemaField.create()}} -> {{ManagedIndexSchema.newField()}}. With this patch, all Solr tests pass. I think it's ready. > Schema API allows default value when adding dynamic field > --------------------------------------------------------- > > Key: SOLR-8154 > URL: https://issues.apache.org/jira/browse/SOLR-8154 > Project: Solr > Issue Type: Bug > Components: Schema and Analysis > Affects Versions: 5.3 > Reporter: Upayavira > Assignee: Steve Rowe > Priority: Minor > Attachments: SOLR-8154.patch, SOLR-8154.patch > > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org