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

Noble Paul updated SOLR-7482:
-----------------------------
    Description: 
We should abstract out the inter node calls with simple helper methods so that 
we can make a request to a particular node by it's name with an aysnc API

{code}
Future<SolrResponse> rsp = coreContainer.getInterNodeCaller.call( methodName , 
path, solrNode, solrparams);
//or
Future<SolrResponse> rsp = coreContainer.getInterNodeCaller.callAnyReplica( 
methodName , path, collection, shard, solrparams)
//etc
{code}
This should help us make our code protocol independent and get rid of direct 
interaction with HttpClient


  was:
We should abstract out the inter node calls with simple helper methods so that 
we can make a request to a particular node by it's name with an aysnc API

{code}
Future<SolrResponse> rsp = coreContainer.getInterNodeCaller.call( String 
methodName , String path, solrNode, solrparams);
//or
Future<SolrResponse> rsp = coreContainer.getInterNodeCaller.callAnyReplica( 
String methodName , String path, String collection, String shard, solrparams)
//etc
{code}
This should help us make our code protocol independent and get rid of direct 
interaction with HttpClient



> Refactor code to avoid using httpclient directly
> ------------------------------------------------
>
>                 Key: SOLR-7482
>                 URL: https://issues.apache.org/jira/browse/SOLR-7482
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Noble Paul
>
> We should abstract out the inter node calls with simple helper methods so 
> that we can make a request to a particular node by it's name with an aysnc API
> {code}
> Future<SolrResponse> rsp = coreContainer.getInterNodeCaller.call( methodName 
> , path, solrNode, solrparams);
> //or
> Future<SolrResponse> rsp = coreContainer.getInterNodeCaller.callAnyReplica( 
> methodName , path, collection, shard, solrparams)
> //etc
> {code}
> This should help us make our code protocol independent and get rid of direct 
> interaction with HttpClient



--
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