Displaying 1 result from an estimated 1 matches for "geolookup".
Did you mean:
geoiplookup
2008 May 27
0
Ultrasphinx geolookup distance returns NaN value.
Hi all,
I''m trying to use geo-location based search using sphinx, Here my search
query.
@search = Ultrasphinx::Search.new(:sort_mode => ''extended'', :sort_by =>
''distance'', :location => {:units => ''degrees'', :lat => 40.7414, :long =>
-74.0014})
@search.results.collect{|x| x.distance}
[0.69084495306015,