Re: Solr 9 and the Affinity placement plugin

2022-10-13 Thread Jan Høydahl
Hi, In Solr 9 the focus is on a rich Java API that will allow you to create your own placement plugin that can do pretty much anything. The affinity plugin tries to give a good OOTB experience for most use cases, but does not aim to be the one everyone uses. You may want to fork the affinity plu

Re: solr 9 standalone crashed after few hours - PhaseIdealLoop::build_loop_late_post_work

2022-10-13 Thread Tomasz Elendt
We encountered the same bug in SolrCloud deployment on our staging environment. We run Solr in Kubernetes and we use the official solr:9.0.0 docker image. If this is a know bug in JDK that especially affects Lucene projects (and by proxy, Solr) why does the official Solr image use Java 17? Toma

Solr SSL Troublshooting

2022-10-13 Thread Rayner, June
Hi Folks We are following the steps in the Securing Solr document to enable SSL for our Solr 8.11 installation. We generated the certificate and a key, and updated the solr.in.sh file to enable the SSL related system properties. Wh

Re: Solr SSL Troublshooting

2022-10-13 Thread Jan Høydahl
> but we can't access the Solr Admin page. What exactly does this mean? Do you see the last line Jetty prints out in the log that it is listening to port 8983? What happens when you try to connect to the port, with e.g. cURL? Jan

RE: Solr SSL Troublshooting

2022-10-13 Thread Rayner, June
Hi Jan Thanks for your response. With the SSL configured, we get an ERR_INVALID_HTTP_RESPONSE error when we access the solr admin URL in a browser with cURL, we get the following curl localhost:8080/solr/#/dogs/query curl: (1) Received HTTP/0.9 when not allow

Re: Solr SSL Troublshooting

2022-10-13 Thread Anshum Gupta
How are you starting Solr? Seems like you're running it in standalone mode, can you please confirm? On Thu, Oct 13, 2022 at 9:44 AM Rayner, June wrote: > Hi Jan > > Thanks for your response. With the SSL configured, > > we get an ERR_INVALID_HTTP_RESPONSE error when we access the solr admin

Script Update Processor

2022-10-13 Thread Matthew Castrigno
Hello community, Let me thank you in advance for any insights you can share. I am attempting to use the Script Update Processor as described here: https://solr.apache.org/guide/solr/latest/configuration-guide/script-update-processor.html#javascript This works fine however I am attempting to use i

Re: Script Update Processor

2022-10-13 Thread Matthew Castrigno
Actually, it is the raw payload but has inserted ​ at what appears to be after every "," Strange I suppose I can strip those without harm. From: Matthew Castrigno Sent: Thursday, October 13, 2022 11:13 AM To: users@solr.apache.org Subject: Script Update Processor

Re: solr 9 standalone crashed after few hours - PhaseIdealLoop::build_loop_late_post_work

2022-10-13 Thread solr
Hi. We tried to upgrade a number of solar images from 8.11 to 9.0.0 this week and ran into the same problems with the official docker image as well (approximately 30 running pods in Kubernetes, crashing on average once an hour). We even tried to build a docker image with another base image (be

RE: Solr SSL Troublshooting

2022-10-13 Thread Rayner, June
Hi Anshum Thanks for your response. Yes, we're running Solr standalone We start Solr as a service. The startup script uses the following to start solr "/usr/local/vufind-5.0/solr/vendor/bin/solr" "$1" -force -p 8080 -s /usr/local/vufind-5.0/solr/vufind -m 4096M -a "-Ddisable.configEdit=tr

Re: Script Update Processor

2022-10-13 Thread dmitri maziuk
On 2022-10-13 12:35 PM, Matthew Castrigno wrote: Actually, it is the raw payload but has inserted ​ at what appears to be after every "," Strange I suppose I can strip those without harm. If you look at logging page in Solr admin interface, it'll have them (at least in our 6.5.0 and 8.7.0) af

Re: Modifying maxFormContentSize in Apache Solr service.

2022-10-13 Thread Kaushal Shriyan
On Wed, Oct 12, 2022 at 9:24 PM Kaushal Shriyan wrote: > Hi, > > I am running Apache Solr 8.11.2 on CentOS Linux release 7.9.2009 (Core) > trying to modify /opt/solr/server/etc/jetty.xml to set the Attribute > *maxFormContentSize* as per the below path > > [root@etc]# ls -l > total 76 > -rw-r--r-

Re: solr 9 standalone crashed after few hours - PhaseIdealLoop::build_loop_late_post_work

2022-10-13 Thread Wei
We also observed the same SIGSEGV crash during our test with Solr 9.0.0. It happens very rarely though, seem 2 occurences during one month of testing. We use Zulu JDK 17.34. - A fatal error has been detected by the Java Runtime Environment: SIGSEGV (0xb) at pc=0x7f96b852d3a1, pid=

Re: solr 9 standalone crashed after few hours - PhaseIdealLoop::build_loop_late_post_work

2022-10-13 Thread Wei
Looks our case is triggered from caffeine cache, different from https://bugs.openjdk.org/browse/JDK-8285835 where it happens in facet module. --- T H R E A D --- Current thread (0x7f96b1286f40): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=16637,

Re: solr 9 standalone crashed after few hours - PhaseIdealLoop::build_loop_late_post_work

2022-10-13 Thread Jen-Ya Ku
It happened at the same CompileTrask on our land (OpenJDK17): Thanks, Jen-Ya --- T H R E A D --- Current thread (0x7ff2f4a44630): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=14826, stack(0x7ff2d0429000,0x7ff2d052a000)] Current CompileTask

Array formatted payload

2022-10-13 Thread Matthew Castrigno
The implicit handlers /update and /update/json/docs treat the same payload differently /update requires the payload in [ ] where as /update/json/docs does not. {field_1:data, field_2:data} throws the error "unknown command 'field_1'..." but the same payload to /update/json/docs works fine. I

Re: Array formatted payload

2022-10-13 Thread dmitri maziuk
On 2022-10-13 3:02 PM, Matthew Castrigno wrote: The implicit handlers /update and /update/json/docs treat the same payload differently This is in The Fine Manual: the latter expects a *single* json doc (exactly why they called it "docs" plural is a mystery), the former can take a list of docs

Re: Script Update Processor

2022-10-13 Thread Eric Pugh
Humm.. This doesn’t sound intentional at all… Do you have a reproducible test case you can share? > On Oct 13, 2022, at 2:31 PM, dmitri maziuk wrote: > > On 2022-10-13 12:35 PM, Matthew Castrigno wrote: >> Actually, it is the raw payload but has inserted ​ at what appears to >> be aft

Re: Array formatted payload

2022-10-13 Thread Matthew Castrigno
Thank you dmitri, I will try this when I get SOLR running properly again. From: dmitri maziuk Sent: Thursday, October 13, 2022 3:02 PM To: users@solr.apache.org Subject: Re: Array formatted payload On 2022-10-13 3: 02 PM, Matthew Castrigno wrote: > The implicit h

Re: Script Update Processor

2022-10-13 Thread dmitri maziuk
On 2022-10-13 4:44 PM, Eric Pugh wrote: Humm.. This doesn’t sound intentional at all… Do you have a reproducible test case you can share? I see them all the time on Logging page, I can attach a screenshot but it'll likely get striped of by the list software. Happens with Chrome, Edge,

RE: IllegalArgumentException: Unknown directory

2022-10-13 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
This error has happened again. Does anyone yet have any explanation or suggestion? -Original Message- From: Oakley, Craig (NIH/NLM/NCBI) [C] Sent: Friday, August 05, 2022 10:47 PM To: users@solr.apache.org Subject: RE: IllegalArgumentException: Unknown directory This error has happened

Re: Solr SSL Troublshooting

2022-10-13 Thread Neal Tucker
If solr is speaking TLS on its listening port, could the problem simply be that you have to tell curl that by adding an explicit “https://“ on the beginning of your localhost url? On Thu, Oct 13, 2022 at 10:58 AM Rayner, June wrote: > Hi Anshum > > Thanks for your response. Yes, we're runni

HTTP ERROR 500 java.lang.NoClassDefFoundError: Lorg/apache/lucene/index/Term

2022-10-13 Thread Matthew Castrigno
I am running SOLR on my windows machine and it gets in this state where every update has this response. Even when I roll back to previously working branches, I still get this error. Sometimes restarting works, sometimes it just "fixes itself". Not sure why it would suddenly not be able to get d

Re: HTTP ERROR 500 java.lang.NoClassDefFoundError: Lorg/apache/lucene/index/Term

2022-10-13 Thread Jan Høydahl
Please provide more information on your environment - Solr version and Java version - How you installed Solr in Windows - How you start Solr - Copy of Solr's log file (solr.log) - Info on any modifications / custom plugins etc you run Java simply cannot find the class which is uncommon for core c