Thanks a lot Shawn.
Regards
Reej
On Mon, 5 Jul 2021 at 1:27 PM, Shawn Heisey wrote:
> On 7/4/2021 8:55 PM, Reej Nayagam wrote:
> > Please find the versions as below
> > Solr core - 8.8.2
> > Solrj - 8.8.2
> > Zookeeper - 3.6.3
> > Zookeeper jute - 3.6.3
> >
> > Kindly do share any code samples
On 7/4/2021 8:55 PM, Reej Nayagam wrote:
Please find the versions as below
Solr core - 8.8.2
Solrj - 8.8.2
Zookeeper - 3.6.3
Zookeeper jute - 3.6.3
Kindly do share any code samples if you have them.
I built some code and pasted it here:
https://apaste.info/fI0a
In my example, this class is
Hi Shawn,
Please find the versions as below
Solr core - 8.8.2
Solrj - 8.8.2
Zookeeper - 3.6.3
Zookeeper jute - 3.6.3
Kindly do share any code samples if you have them.
Thanks & Regards
Reej
On Fri, 2 Jul 2021 at 9:05 AM, Shawn Heisey wrote:
> On 7/1/2021 6:36 PM, Reej M wrote:
> > Hi Shawn /
Thank you for your reply.
Regards
Reej
On Fri, 2 Jul 2021 at 10:58 PM, Vincenzo D'Amore wrote:
> the solrclients are thread safe so, yes, I recommend to use a single
> instance during all the life of your application (as said I prefer have an
> instance for each index/collection)
> If a network
the solrclients are thread safe so, yes, I recommend to use a single
instance during all the life of your application (as said I prefer have an
instance for each index/collection)
If a network problem occurs, the client will manage to reconnect
automatically to the server.
But regarding the default
On 7/1/2021 6:36 PM, Reej M wrote:
Hi Shawn / Team ,
Need a suggestion on using the cloudsolrclient.
In our application, we have few cores which will be indexing every few minutes
(starting from 15 mins intervall and searching will also be done by the users
at the same time. Is it recommended t
Hi Shawn / Team ,
Need a suggestion on using the cloudsolrclient.
In our application, we have few cores which will be indexing every few minutes
(starting from 15 mins intervall and searching will also be done by the users
at the same time. Is it recommended to maintain a single cloudsolrclient
Oh ok Walter.
For the moment, we too cannot update to cloudsolrclient, and we are trying to
find a way to resume the connections for now, and later work on the code
cleanup. Thanks
> On 30 Jun 2021, at 12:49 AM, Walter Underwood wrote:
>
> CloudSolrClient is not an absolute requirement for a
CloudSolrClient is not an absolute requirement for a Solr Cloud cluster.
We use regular HTTPSolrClient sending all requests to the load balancer.
Actually, we use a separate load balancer for indexing, to keep the monitoring
separate and to set different timeouts than for queries.
This setup is
Thanks Shawn & Vicenzo. Will check it out and change accordingly. Thanks
again Shawn for your clear explanation.
Regards
Reej
On Tue, 29 Jun 2021 at 9:47 PM, Vincenzo D'Amore wrote:
> Right, you should always use CloudSolrClient as a singleton.
> To be honest I'm used to reuse a CloudSolrClien
Right, you should always use CloudSolrClient as a singleton.
To be honest I'm used to reuse a CloudSolrClient instance for each
collection/index.
On Tue, Jun 29, 2021 at 3:12 PM Shawn Heisey wrote:
> On 6/29/2021 6:43 AM, Reej Nayagam wrote:
> > Hi Vincenzo Yes we are using cloud and initial sol
On 6/29/2021 6:43 AM, Reej Nayagam wrote:
Hi Vincenzo Yes we are using cloud and initial solr version was 4.10.4
and we upgraded the jars alone to 8.8.2 now in the application side
connecting to solr Server to fix some vulnerability. As we have
upgraded the jars we changed httpsolrserver connec
Hi Vincenzo
Yes we are using cloud and initial solr version was 4.10.4 and we upgraded the
jars alone to 8.8.2 now in the application side connecting to solr
Server to fix some vulnerability.
As we have upgraded the jars we changed httpsolrserver connection to
httpsolrclient and we guess there i
I mean, why are you looking for the leader?
On Tue, Jun 29, 2021 at 1:58 PM Vincenzo D'Amore wrote:
> not sure I got your answer... are you using solrcloud?
>
> On Tue, Jun 29, 2021 at 12:18 PM Reej Nayagam wrote:
>
>> Hi
>> Thanks for the reply.
>> I'm trying to create a singleton, but my worr
not sure I got your answer... are you using solrcloud?
On Tue, Jun 29, 2021 at 12:18 PM Reej Nayagam wrote:
> Hi
> Thanks for the reply.
> I'm trying to create a singleton, but my worry is my base url changes based
> on the leader.
> so we have 14 repositories, and if we need to trigger indexing
pass the corename as first parameter
Thanks and Regards,
Srinivas Kashyap
-Original Message-
From: Reej Nayagam
Sent: 29 June 2021 15:47
To: Solr
Cc: solr-user Lucene
Subject: Re: HTTPSolrClient - help required
Hi
Thanks for the reply.
I'm trying to create a singleton
Hi Srinivas,
Thanks for the reply.
Im solr setup has multiple repositories in a cluster setup, and we are
indexing calling the leader url
*HTTPSolrClient solrclient = new HTTPSolrcient.Builder(url).build*
we neve close this. For each indexing we just call the above and open
connection.
I'm tryi
Hi
Thanks for the reply.
I'm trying to create a singleton, but my worry is my base url changes based
on the leader.
so we have 14 repositories, and if we need to trigger indexing for 1 core,
then url will be http://xxx.xxx.x.xxx:*8983*/solr/watchlist, for another
core it'll be http://xxx.xxx.x.xxx:
Hi Reej,
Yes, create a singleton class of HttpSolrClient for entire scope of
application. As mentioned by you, if you don’t close the connection, thread
will be in hung state and affects the performance. I too faced this in my
implementation.
Thanks and Regards,
Srinivas Kashyap
Leading Retai
have you tried to use the httpsolrclient as singletons?
Create them only once and reuse. Not sure but I think it’s a best practice.
Ciao,
Vincenzo
> On 29 Jun 2021, at 03:59, Reej Nayagam wrote:
>
> Hi Team,
> Any advise is highly appreciated.
> Do we need to use a singleton connection of a c
20 matches
Mail list logo