On Sat, Mar 31, 2007 at 01:20:50AM -0400, John Joseph Bachir wrote:
> 
> On Mar 30, 2007, at 3:33 AM, Jens Kraemer wrote:
> 
> > On Thu, Mar 29, 2007 at 06:34:15PM -0400, John Bachir wrote:
> >> How are ruby nil values represented in the index?
> >
> > not at all, I guess. Ferret works on strings, and it makes no sense to
> > store an empty string in the index.
> 
> 
> I am trying to query for objects that match certain terms in field A,  
> and field B = nil in the model. (The column is untokenized)

I think the only way to achieve this is to epresent the nil with some
non-nil value in the index ('NIL' or something like this) so you can
search for it.

Jens

-- 
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[EMAIL PROTECTED] | www.webit.de
 
Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to