Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-4823

Split LBHttpSolrServer into two classes one for the solrj use case and one for the solr cloud use case

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • SolrCloud, SolrJ
    • None

    Description

      The LBHttpSolrServer has too many responsibilities. It could perhaps be broken into two classes, one in solrj to be used in the place of an external load balancer that balances across a known set of solr servers defined at construction time and one in solr core to be used by the solr cloud components that balances across servers dependant on the request.

      To save code duplication, if much arises an abstract bass class could be introduced in to solrj.

      Attachments

        1. SOLR-4823.patch
          66 kB
          philip hoy
        2. SOLR-4823.patch
          50 kB
          philip hoy

        Issue Links

          Activity

            People

              Unassigned Unassigned
              phloy philip hoy
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: