PsiPro wrote:
> I have a model that is indexed on an attribute, is_actually_id, and in
> a search I want to search and return only items where is_actually_id
> is blank.
>
> Is this possible with thinking sphinx/sphinx?
NULL attributes are stored as 0, so try:
Model.search(:with => {:is_actually_id => 0})
-- James Healy <[email protected]> Sun, 27 Dec 2009 11:16:00 +1100
--
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.