[ 
https://issues.apache.org/jira/browse/SOLR-8765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan Woodward updated SOLR-8765:
--------------------------------
    Attachment: SOLR-8765.patch

This has missed 6.0, so here's a patch that deprecates the constructors 
instead.  It also:
* adds some static factory methods to help distinguish between different 
use-cases for some requests
* adds a whole bunch of javadoc
* adds some pre-request validation, so that we can catch badly-formed requests 
before they're sent to a Solr instance.

The patch applies on top of SOLR-8782.

> 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
>             Fix For: 6.0
>
>         Attachments: 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to