Hi thanks for the reply.  It was the boolean delta field.  It was not
clear to me that even when using one of the other types of deltas you
have to have the :delta field on your model.  I added it and all is
well now.

On Mar 15, 9:17 am, Kunzmann <[email protected]> wrote:
> Hi Brian,
>
> I haven't used delayed delta yet, but it looks to me like you need a
> boolean delta field on your User model. The datetime delta uses the
> updated_at field by default, so that might explain why you don't get
> an error in that case. If that's not it, I'd recommend double checking
> that you haven't missed a step in setup instructions 
> athttp://freelancing-gods.com/posts/thinking_sphinx_delta_changes
>
> Cheers,
> Kunzmann
>
> On Mar 15, 7:37 am, Brian McManus <[email protected]> wrote:
>
> > I'm not sure what is going on here at all.  I have two models that I
> > want to use the new(ish) delayed indexing on.  One of them seems to
> > have no problem with it at all but on the other one I get the error
> > below.  Note that I also ONLY get that error when specifying
> > set_property :delta => :delayed inside my define_index block.  If I
> > use the default delta or :delta => :datetime, I do not get any
> > errors.  I'm wondering if it's some strange interaction between
> > plugins I'm using in my User model.  The two that come to mind are
> > Paperclip and Authlogic.  Some Authlogic suff even shows up in the
> > stack not that that necessarily means anything.
>
> > My index looked like this at the time of the error (since switched it
> > to :datetime instead of :delayed):
>
> >   define_index do
> >     indexes [first_name, last_name], :as => :name, :sortable => true
> >     indexes description
> >     indexes email
> >     has active
> >     set_property :delta => :delayed
> >   end
>
> > Stack Trace:
>
> > NoMethodError (undefined method `delta=' for #<User:0x34cf844>):
> >     /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/
--~--~---------~--~----~------------~-------~--~----~
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