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

SolrClients should have protected constructors

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0
    • Component/s: SolrJ
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: