Hello,

I am on Solr 9.8.1 in standalone mode, and I'm trying to debug a number of slow 
queries.

We've implemented almost all of our searches using the JSON Request API, 
https://solr.apache.org/guide/solr/latest/query-guide/json-request-api.html

However, in the logs, and in the slow query logs, the JSON Request API search 
parameters do not appear:

2025-06-23 06:40:36.284 WARN  (qtp1844334363-624-null-177821) [c: s: r: 
x:core_name t:null-177821] o.a.s.c.S.SlowRequest slow: webapp=/solr 
path=/select params={} hits=0 status=0 QTime=16914

You can imagine this makes it difficult to tell what is causing the problem!

I've looked around and couldn't really find anything. I'm hesitant to use the 
"logParamsList" query parameter since I would have to 'opt-in' to quite a big 
list of query parameters. I've also tried enabling the "temporary" logging, but 
I think there's a bug with enabling these in standalone mode? I get an error 
"Parameter nodes only supported in Cloud mode". 

Is there a secret incantation that would help here?

Thanks,
-Andrew

Reply via email to