lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Is SolrCloudClient Singleton Pattern possible with multiple collections?
Date Thu, 14 Jul 2016 17:15:10 GMT
Just use the

public NamedList<Object> request(SolrRequest request, String collection)

method on the SolrCloudClient?

Best,
Erick

On Thu, Jul 14, 2016 at 9:18 AM, Pablo Anzorena <anzorena.fing@gmail.com> wrote:
> Hey,
> So the question is quite simple, Is it possible to use Singleton Pattern
> with SolrCloudClient instantiation and then reuse that instance to handle
> multiple requests concurrently accessing differente collections?
>
> Thanks.

Mime
View raw message