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" <jeffrey@cuemedia.com> To: "Matt Hamilton" <matth@netsight.co.uk> Cc: <zope-dev@zope.org> 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
I
have to. Perhaps the index pluggability could be made to support different 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 you go about efficiently combining results?
Is there not a set datatype in python that could be used? Admittedly,
[SNIP]
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, jeffrey@cuemedia.com
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )