I am trying to do a proximity search like..

l = (Geokit::Geocoders::GoogleGeocoder.geocode 'xxxxx').ll

la = Address.get_radian(l[0], l[1])

def self.get_radian(lat, lng)
        return [(lat / 180.0) * Math::PI, (lng / 180.0) * Math::PI]
    end

Store.search("green", :geo => la, :with => {"@geodist" =>
0.0..50_000.0})

This returns no results, I know it should return some records, and it
does if I take the @geodist out, what am I doing wrong here?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" 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/thinking-sphinx?hl=en.

Reply via email to