[
https://issues.apache.org/jira/browse/SOLR-10433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16047852#comment-16047852
]
Noble Paul edited comment on SOLR-10433 at 6/13/17 1:03 PM:
------------------------------------------------------------
bq.Doing so would simplify the code (fewer null-checks, validation on change,
etc.), and more importantly make the clients safer/less-trappy to use in a
multi-threaded context.
I see the problem. But most of the CloudSolrClient objects are created in
other places. However , I shall see how I can eliminate this
bq.but it strikes me as a bit odd that the V1 and V2 APIs have different means
of specifying the read-write format
good observation. In V1 API the requestwriters are xml and javabin. In V2 they
are json and javabin. However the response parsers are same for V1 and V2
was (Author: noble.paul):
bq.Doing so would simplify the code (fewer null-checks, validation on change,
etc.), and more importantly make the clients safer/less-trappy to use in a
multi-threaded context.
I see the problem. But most of the CloudSolrClient objects are created in
other places. However , I shall see how I can eliminate this
> automatically map collection admin calls from V1 to V2
> ------------------------------------------------------
>
> Key: SOLR-10433
> URL: https://issues.apache.org/jira/browse/SOLR-10433
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Components: SolrJ, v2 API
> Reporter: Noble Paul
> Attachments: SOLR-10433.patch, SOLR-10433.patch, SOLR-10433.patch,
> SOLR-10433.patch
>
>
> There are some bugs in v2 api that I would like to solve in other tickets :
> - DELETE method doest not support body ( we can't pass async id )
> - V2HttpCall should {{override getAuthCtx()}} to support
> {{RuleBasedAuthorizationPlugin}}
> - with create collection, when user send this request
> {code}
> {
> "properties" : {"solr.tests.maxBufferedDocs" : 100}
> }
> {code}
> the v2 api can not resolve the value for
> "properties.solr.tests.maxBufferedDocs"
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]