There are also set objects like OOSets and IISets that can be used in
intersection and union operations as documented in the BTrees module.
----- Original Message -----
From: "Jeffrey P Shell" <[EMAIL PROTECTED]>
To: "Matt Hamilton" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 12:18 PM
Subject: Re: [Zope-dev] Searching/Indexing/ZODB/SQL/BerkleyDB
> On Thursday, November 29, 2001, at 04:03 AM, Matt Hamilton wrote:
> > On Thu, 29 Nov 2001, Chris Withers wrote:
> >>> I would rather avoid having to use a relational database unless
> >>> have to.
> >>> Perhaps the index pluggability could be made to support
> >>> backends
> >>> (like FileStorage et al does).
> >> Yeah, unfortunately, the difficult bit is combining queries:
> >> gimme the results where index1=='fish' and index2 is between 2
> >> and 5kg.
> >> if index1 is in SQL and index2 is in ZODB, for example, how would
> >> go about efficiently combining results?
> > Is there not a set datatype in python that could be used?
> There is a 'sets' directory in the Python CVS (in the
> 'nondist/sandbox' area). I think it was a proposed datatype that
> didn't quite make the cut for 2.2..(?)
> Jeffrey P Shell, [EMAIL PROTECTED]
> Zope-Dev maillist - [EMAIL PROTECTED]
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope )
Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -