Node Body | Modules Unraveled

The Search API Location module adds support for indexing location values provided by the Geofield module and subsequently filtering or sorting on them, provided the service class supports this. Currently, only the Search API Solr module is known to support this feature.

Search API Location adds a new data type, "Latitude/longitude" to the list of fields in the Search API index. We can use this to index the Lat/Long Pair property of Geofield fields. First, we have to add the location field to the list of fields to index. In this video, I will show you how to do that, edit the Search View and add a filter criteria for location.