I am not getting any luck with the docs, here is my search..

m1 = ThinkingSphinx.search(:geo => ll, :with => {"@geodist" => 0.00..
(40 * 1609.344)}, :latitude_attr => :lat, :longitude_attr
=> :lng, :sort_by =>:created_at, :classes => [Merchant], :group_by =>
"city", :group_function => :attr, :group_clause => "@count desc")

I would assume when I do the following I would see a list of
cities..but I see a bunch of integers. Is there an example of how to
loop through the results?

m1.each_with_groupby do |rec, group|
puts group
end


-- 
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