[
https://issues.apache.org/jira/browse/SOLR-8765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15200484#comment-15200484
]
Alan Woodward commented on SOLR-8765:
-------------------------------------
I'd say add another factory method for the implicit router case. The point of
adding these methods is to make it a lot clearer in the API how you should use
these parameters, and what combinations are allowed and which aren't.
On tests, my plan was to gradually cut over the existing tests that use the
deprecated API to the new methods, fixing stuff as I go. That's why this is
targeted at 6.1, to give time to work out the wrinkles.
> Enforce required parameters in SolrJ Collection APIs
> ----------------------------------------------------
>
> Key: SOLR-8765
> URL: https://issues.apache.org/jira/browse/SOLR-8765
> Project: Solr
> Issue Type: Improvement
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Fix For: 6.1
>
> Attachments: SOLR-8765-splitshard.patch, SOLR-8765-splitshard.patch,
> SOLR-8765.patch, SOLR-8765.patch
>
>
> Several Collection API commands have required parameters. We should make
> these constructor parameters, to enforce setting these in the API.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]