Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
9.0, 8.9, 8.11.1
-
None
Description
When using the tech_products example and checking the "Spatial" checkbox as true, entering pt as 37.7752,-122.4232, d as 20, sfield as store and setting fq as {!geofilt} generates the following query:
Which returns the following error on execution:
{ "responseHeader":{ "status":400, "QTime":0, "params":{ "q":"*:*", "indent":"true", "spatial.pt":"37.7752,-122.4232", "q.op":"OR", "fq":"{!geofilt}", "spatial":"true", "spatial.sfield":"store", "_":"1649169714252", "spatial.d":"20"}}, "error":{ "metadata":[ "error-class","org.apache.solr.common.SolrException", "root-error-class","org.apache.solr.common.SolrException"], "msg":" missing sfield for spatial request", "code":400}}
However if you update the query parameters like so
It works fine. Looks like the query params generated using the UI are not correct.
Attachments
Issue Links
- is caused by
-
SOLR-6152 Pre-populating values into search parameters on the query page of solr admin
- Closed
- links to