Ok, thanks for that confirmation. In that case, I'm afraid I'm going slightly mad. I have been trying to implement this all day yesterday but the documentation is so sparse and the examples are so few that it's just not working for me.
I have described my code example here: http://groups.google.com/group/ruby-sunspot/browse_thread/thread/3d8c36bbc05d7e0b And it's just not working. Neither with a local Solr instance or WebSolr. I would love to get some help here cause I think I'm going crazy. On Feb 27, 6:08 am, Nick Zadrozny <[email protected]> wrote: > On Sat, Feb 26, 2011 at 6:08 PM, Cristiano <[email protected]> wrote: > > Has anyone tried to implement geo-spatial search with WebSolr on > > Heroku? I am looking to implement it myself but want to know if it's > > even remotely possible. > > Hi Cristiano, > > Great question. Geo-spatial search is absolutely supported by Websolr, > though the state of support in various Solr clients can be a bit hit or > miss. > > Because the current version of Solr (1.4) doesn't officially support geo > search, the current version of the Sunspot Solr client (1.2) uses a > client-side geohashing technique. It's fast and doesn't require any special > server support for spatial search to get results near a given point, but > lacks some of the more precise features of a more robust approach. > > The documentation for that can be found > here:http://outoftime.github.com/sunspot/docs/classes/Sunspot/DSL/Restrict... > > If you need more accurate distance calculations and sorting, you can also > make use of the solr-spatial-light Solr plugin, which we support. Here's a > recent blog post describing how to do this via Sunspot: > > http://notch8.com/2011/02/22/sunspot-spatial.html > > If you have any further questions please feel free to ask and I'll get you > steered in the right direction. > > -- > Nick Zadrozny > > http://websolr.com— hassle-free hosted search, powered by Apache Solr -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
