[Zope] Keyword index negative query

Casey Duncan casey at zope.com
Fri Apr 2 09:34:35 EST 2004


On Fri, 02 Apr 2004 09:15:47 +0100
Chris Withers <lists at simplistix.co.uk> wrote:

> Casey Duncan wrote:
> 
> > Jeremy did to modularize things and then I did thereafter to
> > optimize sorting and clean up some remaining cruft.
> 
> Aha, so, only partially guilty then ;-)
> 
> >>(and where did they document it?)
> > 
> > What was changed wasn't public API and functionality was not changed
> > other than adding the sort_limit capability which is documented in
> > the hurt^H^H^Help system and interfaces.
> 
> As you rightly point out, the "help" system is "dodgy" to say the
> least. What benefit sdoes setting sort_limit currently add?

RTFM ;^)

See: http://www.zope.org/Members/Caseman/ZCatalog_for_2.6.1
 
>  From what I saw, with the addition of a few security declarations,
>  what 
> refactoring meant that a normal Python Script could do funky stuff to
> generate more useful search results.
> 
> Was I hallucinating?

See search() method at bottom of:

http://cvs.zope.org/Zope/lib/python/Products/ZCatalog/IZCatalog.py?rev=1.7&content-type=text/vnd.viewcvs-markup

All this does though is remove dwim. It doesn't add new query
capabilities.

> PS: I'm still after the holy grail of being able to do boolean
> combination of indexed searches and sort on multiple indexes in a
> cascasding fashion. How'd you recommend tackling that now?

My CatalogQuery product (assuming it still works with 2.7)
 
> PPS: Does Pypes make my holy grail possible?

It will.

-Casey



More information about the Zope mailing list