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

Multiple instances of client #190

Open
captainjackrana opened this issue Aug 27, 2016 · 1 comment
Open

Multiple instances of client #190

captainjackrana opened this issue Aug 27, 2016 · 1 comment

Comments

@captainjackrana
Copy link

I have a user facing application where people make searches on a particular collection.
How is the multi-request connection handled. Should i be creating new client instances on every request?

@ColadaFF
Copy link
Collaborator

ColadaFF commented Aug 27, 2016

Not at all, remember that this client uses HTTP for comunication, so, one instance per core should be fine.
The thing I would be careful of is that solr has a number of searchers by default, if you are doing a lot of commits over the core at the same time, you could get an exception response from solr.

You can read more about it here: SolrDocs

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