You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2022/11/28 23:11:00 UTC
[jira] [Created] (SOLR-16563) Http2SolrClient should have a defaultCollection setting
David Smiley created SOLR-16563:
-----------------------------------
Summary: Http2SolrClient should have a defaultCollection setting
Key: SOLR-16563
URL: https://issues.apache.org/jira/browse/SOLR-16563
Project: Solr
Issue Type: Improvement
Security Level: Public (Default Security Level. Issues are Public)
Components: SolrJ
Reporter: David Smiley
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org