Re: [Zope-dev] ANN: Proposal for ZCatalog "drop-in" indexes
Chris McDonough writes:
I'd like comments on this proposal if you've got the time:
http://dev.zope.org/Wikis/DevSite/Proposals/DropInIndexes Looks good.
When you are changing the indexing and catalog stuff: * make the interface "index" public, such that it can be used from outside the ZCatalog * standardize the result type of index searches such that partial search results can easily be combined * provide operators "union", "intersection" and "difference" on search results. What would you gain? We could leave the rigit search interface of the ZCatalog and provide flexible queries that and/or subqueries against different indexes. Especially CMFTopic would profit much from this. Dieter
Thanks, Dieter, I've added these comments to the Wiki. ----- Original Message ----- From: "Dieter Maurer" <dieter@handshake.de> To: "Chris McDonough" <chrism@digicool.com> Cc: <zope-dev@zope.org> Sent: Friday, March 30, 2001 2:52 PM Subject: Re: [Zope-dev] ANN: Proposal for ZCatalog "drop-in" indexes
Chris McDonough writes:
I'd like comments on this proposal if you've got the time:
http://dev.zope.org/Wikis/DevSite/Proposals/DropInIndexes Looks good.
When you are changing the indexing and catalog stuff:
* make the interface "index" public, such that it can be used from outside the ZCatalog
* standardize the result type of index searches such that partial search results can easily be combined
* provide operators "union", "intersection" and "difference" on search results.
What would you gain?
We could leave the rigit search interface of the ZCatalog and provide flexible queries that and/or subqueries against different indexes.
Especially CMFTopic would profit much from this.
Dieter
_______________________________________________ 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 )
Dieter Maurer wrote:
Chris McDonough writes:
I'd like comments on this proposal if you've got the time:
http://dev.zope.org/Wikis/DevSite/Proposals/DropInIndexes Looks good.
When you are changing the indexing and catalog stuff:
* make the interface "index" public, such that it can be used from outside the ZCatalog
* standardize the result type of index searches such that partial search results can easily be combined
* provide operators "union", "intersection" and "difference" on search results.
That would be sweet. This whole proposal could take Catalogs to a new level of functionality. I think the last two points would be especially helpful. They might be a bit challenging to implement with Lazy sequences however. It would be nice to make the result sequence even more virtual and even more closely tied to the Catalog. If search results were abstracted a bit further, implementing combine operations and even sub-searching could be made highly efficient. Perhaps this is not in the scope of the current proposal, but I think we should at least aim in that direction. -- | Casey Duncan | Kaivo, Inc. | cduncan@kaivo.com `------------------>
participants (4)
-
Casey Duncan -
Chris McDonough -
Chris Withers -
Dieter Maurer