Geospatial search is not working
Hello,
I'm using ckan 2.8.2, and I have installed ckanext-spatial following the instructions in the ckan documentation.
I have selected the search backend to be solr by writing the following line in the production.ini
ckanext.spatial.search_backend = solr
and updated the solr xml schema by putting the following lines inside the <fields> block
<field name="bbox_area" type="float" indexed="true" stored="true" />
<field name="maxx" type="float" indexed="true" stored="true" />
<field name="maxy" type="float" indexed="true" stored="true" />
<field name="minx" type="float" indexed="true" stored="true" />
<field name="miny" type="float" indexed="true" stored="true" />
and ran this command to rebuild the search-index. ckan-paster --plugin=ckan search-index rebuild --config=/etc/ckan/production.ini

However, when I use the geospatial search, it returns no results even though some datasets have the "spatial" extra field in the same area.

It usually happens when the extra field are not created properly. Check if they are really part of the schema using the solr web interface.
Seconding this issue, I have the extra fields in my solr schema, but the spatial search is still returning zero results. Not sure where to go from here. Using solr 6.6.6 and ckan 2.9.5