features/thinking_sphinx/models/developer.rb in thinking-sphinx-1.4.5 vs features/thinking_sphinx/models/developer.rb in thinking-sphinx-1.4.6
- old
+ new
@@ -10,9 +10,10 @@
indexes state, :facet => true
indexes tags.text, :as => :tags, :facet => true
has age, :facet => true
has tags(:id), :as => :tag_ids, :facet => true
+ has state, :as => :state_wordcount, :type => :wordcount
facet "LOWER(city)", :as => :city, :type => :string, :value => :city
group_by 'city'
end