Re: Recommended Java version on Ubuntu 20.04, GC

2023-02-06 Thread Wei
Hi Shawn, Do you see ZGC having better query performance than G1? We are migrating from Solr 8 / JDK 11/ G1 to Solr 9 with JDK 17 / G1. Also are there any notable performance changes from 9.0.0 to the latest 9.1.1? Thanks, Wei On Mon, Feb 6, 2023 at 1:34 PM Shawn Heisey wrote: > On 2/6/23 1

Re: Recommended Java version on Ubuntu 20.04, GC

2023-02-06 Thread Shawn Heisey
On 2/6/23 14:24, Paul Ryder wrote: I thought that was Solr 9 only? Solr 8.x can still use CaffeineCache, and it's the best choice in most circumstances, so it's not something I would risk, even if it turns out that it's not affected. In 9.x, all the older cache implementations are gone, lea

Re: Recommended Java version on Ubuntu 20.04, GC

2023-02-06 Thread Paul Ryder
I thought that was Solr 9 only? Get Outlook for iOS From: Shawn Heisey Sent: Monday, February 6, 2023 9:19:18 PM To: users@solr.apache.org Subject: Re: Recommended Java version on Ubuntu 20.04, GC On 2/6/23 14:06, Paul Ryder wrote: > Hi Sh

Re: Recommended Java version on Ubuntu 20.04, GC

2023-02-06 Thread Shawn Heisey
On 2/6/23 14:06, Paul Ryder wrote: Hi Shawn, what is the known bug in Java 17/Solr 8.x? ta! Paul https://issues.apache.org/jira/browse/SOLR-16463 Thanks, Shawn

Re: Recommended Java version on Ubuntu 20.04, GC

2023-02-06 Thread Paul Ryder
Hi Shawn, what is the known bug in Java 17/Solr 8.x? ta! Paul Get Outlook for iOS From: Shawn Heisey Sent: Monday, February 6, 2023 8:59:07 PM To: users@solr.apache.org Subject: Re: Recommended Java version on Ubuntu 20.04, GC On 2/6/23 13

Re: Recommended Java version on Ubuntu 20.04, GC

2023-02-06 Thread Shawn Heisey
On 2/6/23 13:18, Adam Sjøgren wrote: Thanks for the input - just to me sure I understand you correctly, using ZGC with Java 11 for Solr 8.11.2 on Ubuntu 20.04 might be worth a try when we are having problems with G1GC? Or would you run Java 17? For Solr 8.x I would stick with Java 11. 8.x has

Re: NullPointerException when using facets in More Like This Query

2023-02-06 Thread Mikhail Khludnev
Devs, heads up! At first glance this failure doesn't look like mlt specific. It just falls down on NPE when it has no result (null docset, ha!) in fq and then attempts to cache null. Not good, you know. I hope I'm wrong. $ git diff diff --git a/solr/core/src/test/org/apache/solr/handler/MoreLikeT

Re: Recommended Java version on Ubuntu 20.04, GC

2023-02-06 Thread Adam Sjøgren
Shawn writes: > On 1/27/23 00:19, Adam Sjøgren wrote: >> Any tips on reasonable settings for ZGC on a 80 node Solr cloud with ~3B >> documents in a handful of collections and quite a bit of updates? > > This is my /etc/default/solr.in.sh config on my little install for Dovecot: [...] > GC_TUNE=

Re: NullPointerException when using facets in More Like This Query

2023-02-06 Thread Grace Sainsbury
Hi Mikhail, I don't have an account to file a JIRA ticket. Grace On Mon, 6 Feb 2023 at 13:37, Mikhail Khludnev wrote: > Hello, Grace. > It seems like a bug deserves a JIRA issue at least. > > On Mon, Feb 6, 2023 at 9:07 PM Grace Sainsbury wrote: > > > I have a MoreLikeThis query handler set u

Re: NullPointerException when using facets in More Like This Query

2023-02-06 Thread Mikhail Khludnev
Hello, Grace. It seems like a bug deserves a JIRA issue at least. On Mon, Feb 6, 2023 at 9:07 PM Grace Sainsbury wrote: > I have a MoreLikeThis query handler set up on my index: > > > > all > 10 >text > > > > If I use faceting on a query with no no tagging and e

NullPointerException when using facets in More Like This Query

2023-02-06 Thread Grace Sainsbury
I have a MoreLikeThis query handler set up on my index: all 10 text If I use faceting on a query with no no tagging and exclusion everything works as expected. eg: /mlt?facet.field=genre&facet.mincount=1&facet=true&fq=genre:{GENRE_VALUE}&indent=true&q.op=OR&q=id:

Re: IllegalArgumentException: Unknown directory

2023-02-06 Thread Kevin Risden
Assuming this relates to the original thread https://lists.apache.org/thread/58wjltm7h304g76xfnm640n37qo5bjhq java.lang.IllegalArgumentException: Unknown directory: > > > NRTCachingDirectory(MMapDirectory@ > > > /data/solr/subportal1/run_sel_cache_shard1_replica_n3/data/snapshot_metadata > > > lo

RE: IllegalArgumentException: Unknown directory

2023-02-06 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
This error has happened yet again. Does anyone yet have any explanation or suggestion? -Original Message- From: Oakley, Craig (NIH/NLM/NCBI) [C] Sent: Thursday, October 13, 2022 6:09 PM To: users@solr.apache.org Subject: RE: IllegalArgumentException: Unknown directory This error has hap

Re: Solr in Docker: embedded zookeeper and `solr create_collection` on a different host

2023-02-06 Thread Shawn Heisey
On 2/6/23 02:40, Tomasz Elendt wrote: Normally I would use Configset API but it doesn't allow to use directives without enabling authentication and this is not something I want to deal with :) I think using directives is a way to get yourself into trouble. Better to add any extra jars to ${

Re: Solr in Docker: embedded zookeeper and `solr create_collection` on a different host

2023-02-06 Thread Tomasz Elendt
For my use case, the minimal workaround seems to be to replace that `solr create_collection` script from create-collection with: create-collections: image: solr:8.11.2 environment: - SOLR_HOST=solr1 - ZK_HOST=solr1:9983 - COLLECTION_NAME=myCollection command: - bash - "-