Why does Solr log params={} for some requests?

Solr prints the request parameters into its request log only when they arrive as URL or form-encoded parameters. If a client sends the query as a JSON body (i.e. JSON Request API), Solr merges the body into the request after the logged parameters are fixed. As a result, we only see params={} on the top-level line.

In order to find the real query on a multi-shard collection, we need to look at the shard requests i.e. the lines having distrib=false. The coordinator node sends the merged parameters to each shard, so these lines contain everything. Once we take the trace id of the top-level line, we can find its shard lines and read the full query.

Written on November 28, 2026