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

SolrClients should have protected constructors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 7.0
    • SolrJ
    • None

    Description

      Recent SolrJ changes (SOLR-8097) resulted in SolrClient ending up with protected ctors. This achieved the purpose at the time, and steered consumers towards using the *Builder types. However the change was overly restrictive, as this visibility prevents consumers from extending SolrClient in any meaningful way.

      This issue involves changing the visibility of the SolrClient "kitchen sink" ctors to better support extension.

      (See recent discussion on SOLR-8097 for more discussion on this topic.)

      Attachments

        1. SOLR-9535.patch
          1 kB
          Jason Gerlowski

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gerlowskija Jason Gerlowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: