Guys, Pat:
Is it possible to search for document near (@geodist) a number of places?
ie, instead of
Place.search "pancakes", :geo => [...@lat, @lng], :with => {"@geodist"
=> 0..10_000}
we would like to do something like:
Place.search "pancakes", :geo => [...@lat1, @lng1], [...@lat2, @lng2],
[...@lat3, @lng3], [...@lat4, @lng4]] , :with => {"@geodist" => 0..10_000}
Any hints?
If it's not possible we're planning to do it 'manually' (N sphinx
only_ids queries) and then paginate thru the results...
--
Martin Sarsale
msn: [email protected]
jabber: [email protected]
twitter: http://twitter.com/runixo
linkedin: http://www.linkedin.com/in/msarsale
sumavisos: http://www.sumavisos.com
blog: http://runa.tumblr.com
--
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.