You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shawn Heisey (JIRA)" <ji...@apache.org> on 2013/05/04 20:22:16 UTC

[jira] [Comment Edited] (SOLR-4448) Allow the solr internal load balancer to be more easily pluggable.

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

Shawn Heisey edited comment on SOLR-4448 at 5/4/13 6:21 PM:
------------------------------------------------------------

bq. One thing I don't currently like (even before your patch) is the fact that the load balancer lives in solrj. It is just an odd place, since this is a core part of how distributed search works.

There are a number of core pieces of Solr functionality that live in solrj.  It's the only way that the solrj client can be kept relatively small.

One particularly relevant example of core Solr functionality that is found in solrj is NamedList.  As an experiment, I went into my IDE and added a character to the class name in NamedList.java from trunk, then saved the change.  Most of the org.apache.solr packages suddenly had an error marker.

The client code requires access to the load balancing capability, so if you move load balancing to the Solr core, solrj will have a new and very large dependency.

                
      was (Author: elyograg):
    bq. One thing I don't currently like (even before your patch) is the fact that the load balancer lives in solrj. It is just an odd place, since this is a core part of how distributed search works.

There are a number of core pieces of Solr functionality that live in solrj.  It's the only way that the solrj client can be kept relatively small.

One particularly relevant example of core Solr functionality that is found in solrj is NamedList.  As an experiment, I went into my IDE and added a character to the class name in NamedList.java from trunk, then saved the change.  Most of the org.apache.solr classes suddenly had an error marker.

The client code requires access to the load balancing capability, so if you move load balancing to the Solr core, solrj will have a new and very large dependency.

                  
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org