Hi!
probably you meant horse.update_attributes(:delta, true) . And yes as
you correctly expected just updating an atribute doesnt change delta
to true.
so i have to add
horse.delta=true
horse.save
i just thought that if from beggining a newly created record has delta
on him. that the search will find him and just add an additional
condition on him (:with=>{:public => true}). and return the results.
it looks like it isnt so.
my define index is the same as in my previous post(2 back) meaning:
define_index do
#fields:
indexes :name
indexes tasks.description, :as => :task_description
indexes [user.first_name, user.last_name], :as => :user_name
#attributes:
has public
#delta:
set_property :delta => true
end
Thanks again for answering Pat! and in either case thanks for the gem.
--
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.