RE: [Zope-dev] Hey Chris, question for you

2001-06-28 Thread Toby Dickenson
> I think it has changed for FieldIndexes. Yes, from UnKeywordIndex.py newKeywords = getattr(obj, self.id, ()) > You can now make > the distinction > between "doesnt have that attribute" and "attribute is one of > [None, '', [], > ()]" within a Field Index. Reviewing UnKeywordIndex.

Re: [Zope-dev] Hey Chris, question for you

2001-06-27 Thread Chris McDonough
Cc: "Casey Duncan" <[EMAIL PROTECTED]>; "Chris McDonough" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> 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 <[EMAIL

Re: [Zope-dev] Hey Chris, question for you

2001-06-27 Thread Toby Dickenson
On Tue, 26 Jun 2001 15:42:40 -0700 (PDT), Michel Pelletier <[EMAIL PROTECTED]> wrote: >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

Re: [Zope-dev] Hey Chris, question for you

2001-06-27 Thread Casey Duncan
Chris McDonough wrote: > > Hi casey, > > Changes were recently made to Field/Keyword Indexes so that they will > store empty items. An equivalent change could be made to TextIndexes... > we'd need to think about that a bit. > > But for your purposes, you might want to start out attempting to w

Re: [Zope-dev] Hey Chris, question for you

2001-06-26 Thread Chris McDonough
Hi casey, Changes were recently made to Field/Keyword Indexes so that they will store empty items. An equivalent change could be made to TextIndexes... we'd need to think about that a bit. But for your purposes, you might want to start out attempting to write your operator implementation using

Re: [Zope-dev] Hey Chris, question for you

2001-06-26 Thread Michel Pelletier
On Tue, 26 Jun 2001, Casey Duncan wrote: > Ok, I was able to get it to work by instantiating a IISet around > _unindex.keys() and passing that to difference (Thanks!), however, I > notice an interesting side effect. Let's say you have a TextIndex on > title and you do the following query: > > tit

Re: [Zope-dev] Hey Chris, question for you

2001-06-26 Thread Casey Duncan
Chris McDonough wrote: > > > Chris: > > > > I am working on getting a decent query language for ZCatalog/Catalog and > > Very cool... > > > I have been able to make good progress, however I am running into a bit > > of an issue that I thought you might know something about: > > > > In order to

Re: [Zope-dev] Hey Chris, question for you

2001-06-26 Thread Chris McDonough
> Chris: > > I am working on getting a decent query language for ZCatalog/Catalog and Very cool... > I have been able to make good progress, however I am running into a bit > of an issue that I thought you might know something about: > > In order to implement a "!=" query operator, I am trying t

[Zope-dev] Hey Chris, question for you

2001-06-26 Thread Casey Duncan
Chris: I am working on getting a decent query language for ZCatalog/Catalog and I have been able to make good progress, however I am running into a bit of an issue that I thought you might know something about: In order to implement a "!=" query operator, I am trying to do the following: >From