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?
Thanks.
NULL attributes are stored as 0, so try:
Model.search(:with => {:is_actually_id => 0})
-- James Healy <ji...@deefa.com> Sun, 27 Dec 2009 11:16:00 +1100