David Smiley created SOLR-17995:
-----------------------------------
Summary: SolrStream API should separate baseUrl from
core/collection
Key: SOLR-17995
URL: https://issues.apache.org/jira/browse/SOLR-17995
Project: Solr
Issue Type: Improvement
Components: SolrJ, streaming expressions
Reporter: David Smiley
{{SolrStream}} takes a "baseUrl" but in practice, this is a URL that includes a
core/collection. It even internally concatenates a "core" field (which cannot
be set by user code) to baseUrl and then looks up a client with
SolrClientCache. Ideally, these aspects would be well separated. A
collection/core should be a required param, and it should be passed to the
request method, which is overloaded to take it. This way the SolrClientCache
isn't polluted with core/collection specific clients.
Perhaps separate issue but it would be lovely to instantiate a SolrStream with
an existing SolrClient, thus without bothering with SolrClientCache.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]