Hello,

What is the guidance regarding when to reuse versus when to recreate a
SolrJ client?

Specifically, the app in question is a provisioning app that will
periodically create collections/aliases for a client.  The calls to SolrJ
might be hours to sometimes days apart.  Querying/Indexing is handled by
another app.

My initial thought is to create a client as needed rather than to reuse due
to the gap in time between usage.  Feedback?

Thanks,
Matt

Reply via email to