Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
None
-
None
-
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
- is duplicated by
-
SOLR-17066 Deprecate and remove core URLs in HttpSolrClient and friends
- Resolved
- is related to
-
SOLR-16498 Tests need the URL from a SolrClient; don't require legacy clients
- Open
- links to