Community

Location:distance/Proximity search using the search api solr and location module

I am currently using the location module for storing the location data. and search API solr module for creating indexes . my problem is that i want to provide location:distance/Proximity search filter in the view of index created using solr.
how i can do it

Comments

I'm working on same setup,

I'm working on same setup, actually I'm trying to integrate the spatial search with the excellent mod http://drupal.org/project/search_api_location .. It seems, that the Search API doesn't work well with location.module.. Mh, I'm concerning using the geofield-module, with that the integration works well ..

Have you any idea to "migrate" location.module to geofield.module?

Your Proximity search will be available with the search_api_location (works with SolrPhpClient)

No i have the idea of

No i have the idea of geofiled.module. but it does not generate the geolocation data at the time of import

Want to display marker of all result on a map

Hiu , I use Search API , Solr, geofield and Search APi Location , but i don't suceed to put all my result opn the map.
How can i do ?

Proximity ???

Search API location doesn't handle proximity though. This seems to be a big hole in Drupal as far as I'm concerned. You can levy the Apache Solr and do indexed searches but Location-based proximity are equally important to sites.

Does anybody know how to get Search API working with some sort of proximity searching (OpenLayers or other)?

## Note: The above code is fictitious. Any resemblance to real or actual working code is purely coincidental.