On 10/08/2009, at 3:47 PM, tispratik wrote:
> Thanks for the reply Pat.
> 1426221836 is for Activity. I found the value while debugging in
> Aptana.
> When there are no activities in the system, Sphinx should not return
> any results when am searching for Activity. But it returns null.
> Also, i checked the CRC code for 'Activity' and 'Chapter' at
> http://webnet77.com/cgi-bin/helpers/crc.pl
> They are different values than what is generated by Ruby. Is that the
> catch?

I doubt it. Not sure why their values are different (and so very  
different, by a number of digits) - but I validate mine comparing them  
to what MySQL's inbuilt function generates.

> When i remove the following two lines, it works correctly! But i do
> need to have those attributes.
> has modulable.chapter_type, :type => :integer, :as
> => :chapter_type, :sortable => true
> has modulable.objectives, :type => :integer, :as
> => :activity_objectives, :sortable => true

Are they both strings? Why are you setting the type to integer? And  
more importantly, what's the overall goal for these two attributes/ 
fields?

-- 
Pat


--~--~---------~--~----~------------~-------~--~----~
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