Hi,
I have an application which is doing search using "sphnix" search.
Everything is working fine but whenever user adding new record it is not
able to index. For that I have to again reindex the all records.

My user model is like this
class User < ActiveRecord::Base
  define_index do
    indexes first_name
    indexes last_name
    indexes email
  end
end


Can anyone tell me how to solve this?

Thanks,
Tushar
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to