I am trying to combine geospatial query (latlong) with the below query inside a search component but I am getting the below error..
*Error:* <lst name="error"> <str name="msg">missing sfield for spatial request</str> <int name="code">400</int> </lst> </response> <str name="fq_bbox"> ( _query_:"{!wp_optional df='addr_location_clean_i' qs=1 v=$fps_where}"^6.2 OR _query_:"{!wp_optional df='addr_location_i' qs=1 v=$fps_where}"^6.2 OR * _query_:"{!geofilt}"&sfield=latlong&pt=$fps_latlong&d=50&sort=geodist() asc * ) </str> I initially thought that it might be an issue with latlong field, but this query works fine. *:*&fq=_query_:%22{!geofilt}%22&sfield=latlong&pt=47.601234,-122.330466&d=50&sort=geodist()%20asc Can someone let me know how to form the geospatial (LatLonType) query in search component? -- View this message in context: http://lucene.472066.n3.nabble.com/Error-missing-sfield-for-spatial-request-tp4073940.html Sent from the Solr - User mailing list archive at Nabble.com.