[ https://issues.apache.org/jira/browse/SOLR-4448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13657094#comment-13657094 ]
philip hoy commented on SOLR-4448: ---------------------------------- I think a problem with the current LBHttpSolrServer is that it has too many responsibilities. It should perhaps be broken into two classes one in solrj to be used by clients which is designed to balance across a known set of solr servers defined at construction time and one in solr proper that deals with the distributed requests which are dependant on the query itself. Looking at the code very little is actually shared between these two use cases so the need for a base implementation and concerns about the appropriate location are not so much of an issue. If so desired the zombie server handling, the only shared code, could be pulled into an base class or another class entirely. > Allow the solr internal load balancer to be more easily pluggable. > ------------------------------------------------------------------ > > Key: SOLR-4448 > URL: https://issues.apache.org/jira/browse/SOLR-4448 > Project: Solr > Issue Type: New Feature > Components: SolrCloud > Reporter: philip hoy > Priority: Minor > Attachments: SOLR-4448.patch, SOLR-4448.patch > > > Widen some access level modifiers to allow the load balancer to be extended > and plugged into an HttpShardHandler instance using an extended > HttpShardHandlerFactory. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org