Title: RE: [Zope-dev] ZCatalog features

Sorry... a user came into the office as I was writing that email and completely broke my train of though :( grrrr...

What I meant to say was, I think that access to the Union and Intersection operators would be a very useful feature as long as it would not involve a change to any other documented APIs etc...

By user visible, I meant the AND/OR keyword processing in catalog queries on textindex fields. Would it be possible/easy to add this to other field types?


-----Original Message-----
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: Monday, 30 April 2001 17:17
To: Adrian Hungate
Subject: Re: [Zope-dev] ZCatalog features

RE: [Zope-dev] ZCatalog features> I think that the idea of exposing these
_in addition_ to (as opposed to instead
> of) the current way it works is a good idea.

What does "these" refer to here?  if you mean intersection and union
operations, this is the plan.

> How hard would it be to add the current 'user visible' boolean logic to
> types other than text?

I'm not sure what you mean... what feature are you referring to?


- C

-----Original Message-----
From: Chris McDonough [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 28 April 2001 17:10
To: Morten W. Petersen
Subject: Re: [Zope-dev] ZCatalog features

"Morten W. Petersen" wrote:
> Hia guys,
> A couple of comments and questions about the ZCatalog:
> Is it possible to pass an argument to the catalog so that returned brains
> would instead be actual objects?
Not currentl, although the new brain objects have a method 'getObject'
that makes getting the object straightforward while you're iterating
over a bunch of them.
> Given that we have to manually join search results, because ZCatalog
> doesn't support ORs etc (for FieldIndexes), wouldn't it be useful to have
> some sort of tool that could take a set of results, and return a result
> with only unique values?
Yes.  There's a propsal on dev.zope.org to expose union and intersection
operations to users of the catalog.
.   Comments are appreciated.
Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to