Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
4.9
-
None
-
None
Description
In my custom application that sends requests to Solr, I log the Solr query requests for debugging purposes.
To do so, I append the original query parameters from my SolrJ select request (see org.apache.solr.client.solrj.SolrQuery) to my Solr WebGui URL like this:
String debuggingUrl = "http://my-machine-name:8080/Solr/#/MyCore/query?" + String.valueOf(solrQuery) + "&debugQuery=on";
When the debuggingUrl is later opened in a web browser, the query parameters are conveniently prefilled in the textfields of the form and the query can be sent and analyzed.
Great features. Saved me a lot of time when I was finetuning my queries.
Unfortunately, not all parameters that occur in my debuggingUrl are taken over in the web form correctly.
Not knowing the full range of possible parameters, I have not performed an exhaustive test, but I can confirm that the following currently fail:
[a]
defType=edismax
There is a check box named "edismax" in the form, but the box is not pre-checked, while it actually should be.
[b]
debugQuery=on
There is a check box named "debugQuery" in the form, but the box is not pre-checked, while it actually should be.
[c]
q.op=AND
There is no text field or check box or dropdown item named "q.op".
Not even after checking on "dismax" and "edismax" which both offer additional parameters to be set.
However, there should be input option to set this parameter and it should be preset when "q.op=AND" is defined in the URL.
The parameters listed as [a], [b] and [c] are important to my use case, that's why I noticed that they are not correctly handled.
However, there might be others that are missing or incorrectly handled.
The issue described above can be reproduced using the following URL on a standard example Solr instance on Jetty.
Attachments
Issue Links
- is superceded by
-
SOLR-6152 Pre-populating values into search parameters on the query page of solr admin
- Closed