lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tedsolr <>
Subject SolrClient: reuse the client or just call close()?
Date Wed, 04 Nov 2015 19:52:44 GMT
I'm wondering what the best practice is for the implementations of
SolrClient: CloudSolrClient & HttpSolrClient. I am caching my clients per
collection (core) and reusing them right now. Initially this was prompted by
the old  solr wiki page <>   and SOLR-861.
Is that still a good idea? Is that better than creating new ones over and
over and remembering to call close() after each use?

Solr 5.2.1

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message