Hi there,

I am trying to search for empty strings, and am getting back no
results.  I am indexing two values, title and body, in my define_index
block.  I am then trying to something along the lines of
Article.search :conditions => {:body => ""} but I get back no
results.  I know there are indexed entries with blank bodies, so I
feel I must be missing something here.

If this is possible and I get it going, I would also like to be able
to search for Articles with both blank bodies and titles.  Can I just
add both fields into the conditions hash?  Will this get treated as an
AND condition?

Thanks,

Simon

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