[ 
https://issues.apache.org/jira/browse/SOLR-8154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14955415#comment-14955415
 ] 

Steve Rowe commented on SOLR-8154:
----------------------------------

bq. I was just posting to /solr/$collection/schema to create the dynamic field.

Hmm, looks like the behavior is different in cloud mode - the tests I added are 
in standalone mode.  I'll investigate.

bq. Is this what you are calling the bulk API?

Yes.  "Bulk" is a reference to the new Schema API's ability to perform multiple 
commands in a single request, as opposed to the old REST-style API, which only 
allowed creation of a single resource type at a time (field(s), dynamic 
field(s), field type(s), or copy field(s)).  More info over on SOLR-6476 and 
SOLR-6594.

> Bulk Schema API incorrectly accepts a dynamic field creation request with 
> required=true and/or a default value
> --------------------------------------------------------------------------------------------------------------
>
>                 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

Reply via email to