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

Ilan Ginzburg commented on SOLR-14680:
--------------------------------------

Based on the Jira description, interfaces defined here don’t aim to replace any 
existing public API so there’s no compatibility being broken.

I believe the first implementations of these interfaces should be the existing 
concrete classes they abstract and the “proof” of usefulness would be replacing 
in the code references to the concrete classes by references to these 
interfaces.
This will likely involve non trivial amount of cleanup/refactoring and will 
also guide the definition of the interfaces.

Once internal references use these interfaces, it will be relatively easy to 
replace actual implementations with new ones (as well as slowly change the 
interfaces and their implementations to clean things up).


> Provide simple interfaces to our concrete SolrCloud classes
> -----------------------------------------------------------
>
>                 Key: SOLR-14680
>                 URL: https://issues.apache.org/jira/browse/SOLR-14680
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>            Priority: Minor
>          Time Spent: 10.5h
>  Remaining Estimate: 0h
>
> All our current implementations of SolrCloud such as 
> # ClusterState
> # DocCollection
> # Slice
> # Replica
> etc are concrete classes. Providing alternate implementations or wrappers is 
> extremely difficult. 
> SOLR-14613 is attempting to create  such interfaces to make their sdk simpler
> The objective is not to have a comprehensive set of methods in these 
> interfaces. We will start out with a subset of required interfaces. We 
> guarantee is that signatures of methods in these interfaces will not be 
> deleted/changed . But we may add more methods as and when it suits us



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to