[jira] [Commented] (SOLR-8154) Bulk Schema API incorrectly accepts a dynamic field creation request with required=true and/or a default value

2015-10-13 Thread Upayavira (JIRA)

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

Upayavira commented on SOLR-8154:
-

I was just posting to /solr/$collection/schema to create the dynamic field. Is 
this what you are calling the bulk API?

> 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



[jira] [Commented] (SOLR-8154) Bulk Schema API incorrectly accepts a dynamic field creation request with required=true and/or a default value

2015-10-13 Thread Steve Rowe (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-8154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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