[Zope] KeywordIndex: Find empty list?

Toby Dickenson tdickenson@geminidataloggers.com
Thu, 17 Jul 2003 13:26:12 +0100


On Thursday 17 July 2003 13:03, Chris Withers wrote:
> Dieter Maurer wrote:
> > 	Find all objects that are indexed by "myattribute" for
> > 	at least one keyword in "keywordList".
> >
> > 	Now, if "keywordList" is empty, no object can be
> > 	indexed for at least one keyword in this list.
>
> But, I think this second bit is overridden by the over-archign ZCatalog
> paradigm of "if your search terms are empty, return everything"...

In this case it is false to say that there are no search terms. There is 
exactly one search term, and it should always return an empty result set.

-- 
Toby Dickenson
http://www.geminidataloggers.com/people/tdickenson