[
https://issues.apache.org/jira/browse/SOLR-17995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18111873#comment-18111873
]
Sanjay Kumar Yadav commented on SOLR-17995:
-------------------------------------------
Hi [~gerlowskija] couldn't make much progress on it.
> 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
> Priority: Major
> Labels: newdev, pull-request-available
> Time Spent: 50m
> Remaining Estimate: 0h
>
> {{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]