The issue appeared to be with this section in the user_index:

  has age
  has username
  has birthday
  has email
  has zip_code


I moved them to one line, "has created_at, updated_at, age, username, 
birthday, email, zip_code" and the error went away. Since the error is 
gone, can someone check to make sure my format for user_index looks good?

ThinkingSphinx::Index.define :location, :with => :active_record do 
  indexes city 
  
  has "RADIANS(locations.latitude)",  :as => :latitude,  :type => :float
  has "RADIANS(locations.longitude)", :as => :longitude, :type => :float
end 

ThinkingSphinx::Index.define :user, :with => :active_record, :delta => true 
do 
  indexes name, :as => :user, :sortable => true 
  indexes religion, birthday, about_me, height, career, feet, inches, 
sexuality, children, user_smoke, user_drink, politics, gender, ethnicity, 
education, username, zip_code
  has created_at, updated_at, age, username, birthday, email, zip_code
  has "RADIANS(locations.latitude)",  :as => :latitude,  :type => :float
  has "RADIANS(locations.longitude)", :as => :longitude, :type => :float
  has(:id, :as => :user_id)
  set_property :wordforms => 'lib/word.txt'
  join location
end

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/d/optout.

Reply via email to