Definitely possible - as long as both sets of lat/lng fields are attributes, then you can do geo searches using the :geo option *and* explicitly telling the search which pair of attributes to use via :latitude_attr and :longitude_attr.
Cheers -- Pat On 06/01/2009, at 8:08 AM, Jörg Battermann wrote: > > Hello there, > > is there anyway to use multiple lat/lng fields in one model and define > which ones to use for each search-run individually? I am asking > because basically users can have a sort of 'living at' combination of > lng/lat but also a current_location-combo... and depending on what > other users are looking for, use either set a or b... > > Is that somehow possible? > > > > Cheers & thanks, > -Joerg > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
