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

Noble Paul edited comment on SOLR-6476 at 9/26/14 11:22 AM:
------------------------------------------------------------

bq.It can, but you don't have any distributed tests at all.

I should fix that. May be separately


bq.You removed some sugar methods,

Yeah, the class was getting very hard to read with all the sugar methods and I 
prefer them removed



bq.You misunderstand me: SolrTestCaseJ4.json(String) 

ok , I got it . I'll fix it

I'll fix the javadocs , in the next patch.



bq.It keeps retrying when another schema modification request gets in first. 
Please fix this - you didn't change anything at all here. There is no way we 
should be giving up here just because other modifications are happening.

I disagree with this idea. It is not necessary that every command has to 
succeed. Whatever sucseeds , will have to do so with the given time/resources. 
Otherwise , it should just fail


was (Author: noble.paul):
bq.It can, but you don't have any distributed tests at all.

I should fix that. May be separately


bq.You removed some sugar methods,

Yeah, the class was getting very hard to read with all the sugar methods and I 
prefer them removed

bq.You misunderstand me: SolrTestCaseJ4.json(String) 

ok , I got it . I'll fix it

I'll fix the javadocs , in the next patch.





> Create a bulk mode for schema API
> ---------------------------------
>
>                 Key: SOLR-6476
>                 URL: https://issues.apache.org/jira/browse/SOLR-6476
>             Project: Solr
>          Issue Type: Bug
>          Components: Schema and Analysis
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>              Labels: managedResource
>         Attachments: SOLR-6476.patch, SOLR-6476.patch, SOLR-6476.patch, 
> SOLR-6476.patch, SOLR-6476.patch, SOLR-6476.patch
>
>
> The current schema API does one operation at a time and the normal usecase is 
> that users add multiple fields/fieldtypes/copyFields etc in one shot.
> example 
> {code:javascript}
> curl http://localhost:8983/solr/collection1/schema -H 
> 'Content-type:application/json'  -d '{
>     "add-field": {
>         "name":"sell-by",
>         "type":"tdate",
>         "stored":true
>     },
>     "add-field":{
>         "name":"catchall",
>         "type":"text_general",
>         "stored":false
>     }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to