Recommended Java version on Ubuntu 20.04, GC

2023-01-26 Thread Adam Sjøgren
Hi, We have a Solr Cloud cluster running 8.11.2 on 16 servers that have just been upgraded to Ubuntu 20.04 (from 18.04). It looks like we are getting shards down/recovering more often than previously, so I'm wondering what version of Java and which garbage collector is recommended on Ubuntu 20

Re: Recommended Java version on Ubuntu 20.04, GC

2023-01-26 Thread Jan Høydahl
Can you say something about the root cause for solr processes to crash? Are they killed by Linux? Which version of Java did you run on 18.04? Other changes done at the same time, such as OS-level settings for ulimits, vm.max_map_count, swappiness etc. If you have not fine-tuned your JVM settings

Re: Recommended Java version on Ubuntu 20.04, GC

2023-01-26 Thread Adam Sjøgren
Jan writes: > Can you say something about the root cause for solr processes to > crash? Are they killed by Linux? They are usually not crashing, I "just" see shards go into down/recovery state. Some of the time they recover without intervention, some of the time a shard or two stays down, and on

Re: Recommended Java version on Ubuntu 20.04, GC

2023-01-26 Thread Shawn Heisey
On 1/26/23 06:26, Adam Sjøgren wrote: We have a Solr Cloud cluster running 8.11.2 on 16 servers that have just been upgraded to Ubuntu 20.04 (from 18.04). It looks like we are getting shards down/recovering more often than previously, so I'm wondering what version of Java and which garbage colle

How to create indexes for CSV dataset (with schema) in Java

2023-01-26 Thread marc nicole
Hello - I want to know how it is possible to create indexes for a certain attribute (and its different values) of a document, using Java. Thanks.

Re: How to create indexes for CSV dataset (with schema) in Java

2023-01-26 Thread Shawn Heisey
On 1/26/2023 2:22 PM, marc nicole wrote: Hello - I want to know how it is possible to create indexes for a certain attribute (and its different values) of a document, using Java. This is a pretty vague question.  We need details of exactly what you're trying to do and what the environment look

Re: Recommended Java version on Ubuntu 20.04, GC

2023-01-26 Thread Adam Sjøgren
Shawn writes: > Solr 8.x and later uses G1 by default. I haven't seen any problems > with it, even though Lucene recommends not using it. Ok, good. > For 8.x, I would use OpenJDK 11. For 9.x, OpenJDK 17. Sounds like we're on the right track version-wise then. > I would choose the ZGC collect

Re: How to create indexes for CSV dataset (with schema) in Java

2023-01-26 Thread marc nicole
In, java i want to create index of a collection named person and say an "Age" attribute for the values between 20 and 35. so that when i query Solr on those values it retrieves them quickly how to do that ? Le ven. 27 janv. 2023 à 03:42, Shawn Heisey a écrit : > On 1/26/2023 2:22 PM, marc nicole