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

Http2SolrClient should have a defaultCollection setting

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • SolrJ
    • None

    Description

      Similar to CloudSolrClient, Http2SolrClient ought to have a "defaultCollection" setting. This ought to be used in preference to passing a "baseUrl" with this collection/core embedded into it. Maybe the builder's constructor should be overloaded to have a baseUrl + defaultCollection pair as well.

      Doing this would make it easier to issue an admin or any other node level command using the same SolrClient instance, just as is possible with CloudSolrClient and EmbeddedSolrServer.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dsmiley David Smiley
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m