I think it has changed for FieldIndexes.  You can now make the distinction
between "doesnt have that attribute" and "attribute is one of [None, '', [],
()]" within a Field Index.  You do this in an almost natural way, the major
exception being that you need to wrap a blank string ('') in a sequence in
the query (e.g. title=['']) due to hysterical behavior.

I'm not sure about Text Indexes.

----- Original Message -----
From: "Toby Dickenson" <[EMAIL PROTECTED]>
To: "Michel Pelletier" <[EMAIL PROTECTED]>
Cc: "Casey Duncan" <[EMAIL PROTECTED]>; "Chris McDonough"
Sent: Wednesday, June 27, 2001 11:47 AM
Subject: Re: [Zope-dev] Hey Chris, question for you

On Tue, 26 Jun 2001 15:42:40 -0700 (PDT), Michel Pelletier

>Hmm the reason for the current behavior was optimization by saving space
>not indexing empty values.

I was always very pleased with that characteristic, but I had not
realised it was a design goal.

I thought I observed that characteristic had changed in a recent Zope
release... hmmm, Ill take a look.

Toby Dickenson

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to