Hi Dmitry

This was a bug in TS, but has been fixed with v1.3.10 - upgrading should solve 
this problem for you.

Sorry for the hassle.

-- 
Pat

On 11/12/2009, at 12:51 AM, dmitry wrote:

> I'm having really weird delta indexing problem,
> 
> I have a model that is pretty normal, defining indexes and turning
> delta on with     set_property :delta => true
> 
> define_index do
>   indexes :name, :sortable => true
>   indexes [first_name, last_name], :as => :fullname
>   indexes short_name
>   indexes description
>   #---------------------------------------------------------
>   has status
>   has created_at
>   has starts_on #!!!!!breaks the delta
>   has ends_on #!!!!!breaks the delta
>   has user_id
>   has "CRC32(type)", :as => :type, :type => :integer
>   has "CRC32(gender)", :as => :gender, :type => :integer
>   has event_type_id
>   has membership_type_id
>   has addresses.state, :as => :addresses_state # this is needed to
> make the next line work
>   has "CRC32(addresses.state)", :as => :state, :type => :integer
>   set_property :delta => true
> end
> 
> 
> The problem is as soon as I add 2 lines to define_index
> 
>   has starts_on #!!!!!breaks the delta
>   has ends_on #!!!!!breaks the delta
> 
> 
> it stops delta indexing, can't figures out why. Is there something
> special about the names of these attributes?
> As soon as I comment them out, the delta starts working, I see in the
> log the the delta kicks in every time I create a new object and store
> it in the db, add these 2 lines in – and the object creates fine, but
> I don't see the delta indexing happening in the log.
> 
> I'm on Thinking Sphinx v1.3.8,
> 
> please let me know what might be a problem,
> 
> thanks
> 
> --
> 
> 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.
> 
> 

--

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