RE: Solr Docker images and timely security patching in production

2022-02-04 Thread Steve Davids
Just as an FYI - it looks like the Solr Helm Chart (Kubernetes installer) goes with A by default. Though, it does allow for easy configurability to go with other options: image.repository string "solr" The repository of the Solr

Re: Solr Docker images and timely security patching in production

2022-02-04 Thread Jan Høydahl
Indeed, helm/solr-operator makes it very smooth to do those upgrades. A thing worth noting is that if you have pinned, say 9.0, then you will get 9.0.1, 9.0.2 etc, but once 9.1 is released, there will not be new Solr bugfix releases for 9.0.x. So if you choose that route, you need to monitor new re

Memory and thread leak using SolrJ

2022-02-04 Thread Steven White
Hi everyone, This simple code, is causing me memory and thread loak (threads remain in "sleeping" mode): for (int j = 0; j < 1; j++) { SolrClient solrClient = new HttpSolrClient.Builder("foo-bar").build(); } Any idea why? Is there an unbuild(), release() or something I h

Re: Memory and thread leak using SolrJ

2022-02-04 Thread dmitri maziuk
On 2022-02-04 7:49 PM, Steven White wrote: Hi everyone, This simple code, is causing me memory and thread loak (threads remain in "sleeping" mode): for (int j = 0; j < 1; j++) { SolrClient solrClient = new HttpSolrClient.Builder("foo-bar").build(); } Any idea why?

Re: Memory and thread leak using SolrJ

2022-02-04 Thread Walter Underwood
Is the code talking to 10,000 different Solr servers? Create one SolrClient per server and reuse it for all traffic to that server. It keeps a pool of connections. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Feb 4, 2022, at 5:49 PM, Steven White

Re: Memory and thread leak using SolrJ

2022-02-04 Thread Mike Drob
SolrClient has a close() method. On Fri, Feb 4, 2022 at 8:41 PM Walter Underwood wrote: > Is the code talking to 10,000 different Solr servers? > > Create one SolrClient per server and reuse it for all traffic to that > server. It keeps a pool of connections. > > wunder > Walter Underwood > wun.

Re: Memory and thread leak using SolrJ

2022-02-04 Thread Shawn Heisey
On 2/4/2022 6:49 PM, Steven White wrote: This simple code, is causing me memory and thread loak (threads remain in "sleeping" mode): for (int j = 0; j < 1; j++) { SolrClient solrClient = new HttpSolrClient.Builder("foo-bar").build(); } Any idea why? Is there an unbu

Re: Suggester Behavior

2022-02-04 Thread Will Butler
Hi Mikhail, I believe that we tried it out with both the DocumentDictionaryFactory and the HighFrequencyDictionaryFactory. Thanks, Will On Wed, Jan 5, 2022 at 2:08 PM Mikhail Khludnev wrote: > Hi, Will. > Which dictionary implementation do you use? > > On Wed, Jan 5, 2022 at 7:16 PM Will Butl