Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PostSolrConnection: Bad parameter design? #577

Open
Thaval opened this issue Nov 16, 2021 · 1 comment
Open

PostSolrConnection: Bad parameter design? #577

Thaval opened this issue Nov 16, 2021 · 1 comment

Comments

@Thaval
Copy link

Thaval commented Nov 16, 2021

Hi,

I try to switch from GET to POST when querying a solr collection and fell over an already existing implementation called "PostSolrConnection". Now, when using this class (replacing it in DI breaks multiple object creations, etc.), it expects two parameters: one ISolrConnection and serverUrl as string. Why does it need the serverUrl as string parameter when ISolrConnection also expects a serverUrl?
What's the purpose?

@ancailliau
Copy link
Contributor

The PostSolRConnection class is unrelated to what you are trying to achieve. It is an internal class for connecting to SolR instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants