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

Add CloudSolrServer helper method to connect to a ZK ensemble

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      We should have a CloudSolrServer constructor which takes a list of ZK servers to connect to.

      Something Like

      public CloudSolrServer(String... zkHost);
      
      • Document the current constructor better to mention that to connect to a ZK ensemble you can pass a comma-delimited list of ZK servers like
        zk1:2181,zk2:2181,zk3:2181
      • Thirdly should getLbServer() and getZKStatereader() be public?

        Attachments

        1. SOLR-5852.patch
          2 kB
          Varun Thacker
        2. SOLR-5852_FK.patch
          2 kB
          Furkan KAMACI
        3. SOLR-5852_FK.patch
          3 kB
          Furkan KAMACI
        4. SOLR-5852-SH.patch
          18 kB
          Shawn Heisey
        5. SOLR-5852-SH.patch
          19 kB
          Shawn Heisey
        6. SOLR-5852.patch
          16 kB
          Shawn Heisey
        7. SOLR-5852.patch
          16 kB
          Shawn Heisey
        8. SOLR-5852.patch
          13 kB
          Varun Thacker
        9. SOLR-5852.patch
          11 kB
          Shalin Shekhar Mangar
        10. SOLR-5852.patch
          10 kB
          Shalin Shekhar Mangar

          Activity

            People

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              varunthacker Varun Thacker
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: