lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <>
Subject [jira] [Commented] (SOLR-7860) Standardize use of HttpSolrClients in Solr
Date Mon, 03 Aug 2015 18:28:04 GMT


Noble Paul commented on SOLR-7860:

First of all , we must not dealing with http clients directly. There should be standard ways
to do common operations

something like 
remoteCall("collection", "shardName", ANY|LEADER|NON-LEADER , params, payload)
remoteCall("collection", "shardName", replicaName, params, payload)

The call could be synchronous or asynchronous

> Standardize use of HttpSolrClients in Solr
> ------------------------------------------
>                 Key: SOLR-7860
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ramkumar Aiyengar
>            Priority: Minor
>         Attachments: SOLR-7860.patch
> {{HttpShardHandlerFactory}} and {{UpdateShardHandler}} already provide two places where
one can get {{HttpSolrClient}}s with timeouts set up properly etc., but there are lots of
miscellaneous places which instantiate their own, with hardcoded timeouts. These are just
waiting for some environment to realize the timeouts are not suitable, and not configurable
as well. We should standardize this (anyone knows why there two to begin with?), ideally this
hardcoding shouldn't exist at all..

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message