search = Sunspot.search(Location) do
any_of do
with(:location).near(13.71, 100.57)
with(:location).near(13.72, 100.58)
with(:location).near(13.73, 100.59)
end
end
currently I believe can only search by one point at the time...
this is how I have my code:
search = Sunspot.search(Location) do
with(:location).in_radius(lat, lng, 1, :bbox => true)
end