Graham Glass wrote:
> One quick question; if I want to search for items where a particular
> attribute is NULL in the database, do I have to use :with => {:attribute =>
> 0} instead of :with => {:attribute => nil}? I tried the latter, but it gives
> me a runtime error (some kind of 'truncated request'). I couldn't find any
> documentation to help.

What you've done is correct, sphinx stores null valeus as 0.

-- James Healy <jimmy-at-deefa-dot-com>  Sun, 13 Sep 2009 11:02:03 +1000

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