Say I have something like this:

class Thing < ActiveRecord::Base
  has_many :locations

  define_index do
    has 'locations.lat', :as => :latitude
    has 'locations.lng', :as => :longitude
  end

end

class Location < ActiveRecord::Base
  acts_as_mappable
  belongs_to :thing
end

Would a has_many on locations ever be able to be correctly indexed/
queried across? What would the right approach for this be? 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