Use ZODB3 and ZCatalog for indexing purposes
Hi, I'm wondering about using ZODB3 and ZCatalog for a CD-indexing project. The actual cd-roms will seldom change after they've been registered, and I'd like to have some sort of auto-full-text-search feature. How does ZODB3 and ZCatalog fit in this picture? I'm NOT making a Zope-product yet, just a plain python-script, using ZODB/ZCatalog for storage. Later, the thing will have a Zope-interface, but for now I'm having so much trouble with my current implementation using PostgreSQL, mostly due to the fact that I cannot get full-text-searching, that I really need some progress now. I'm dealing with plain python objects the entire time, but searching is alpha/omega in this case and will break it completly if not implemented correctly. Any hints, tips, flames or just emails sent out of boredome, I'm a lonely coder who needs a stinkin' break before I go completly nuts, so any feedback will be great. :-> Thomas
Thomas, Have you seen the Zope on CDROM howto? Try searching on zope.org (when it's back up that is) for it. hth Phil ----- Original Message ----- From: "Thomas Weholt" <thomas@cintra.no> To: <Zope-Dev@zope.org> Sent: Tuesday, July 25, 2000 10:27 AM Subject: [Zope-dev] Use ZODB3 and ZCatalog for indexing purposes
Hi,
I'm wondering about using ZODB3 and ZCatalog for a CD-indexing project. The actual cd-roms will seldom change after they've been registered, and I'd like to have some sort of auto-full-text-search feature. How does ZODB3 and ZCatalog fit in this picture? I'm NOT making a Zope-product yet, just a plain python-script, using ZODB/ZCatalog for storage. Later, the thing will have a Zope-interface, but for now I'm having so much trouble with my current implementation using PostgreSQL, mostly due to the fact that I cannot get full-text-searching, that I really need some progress now. I'm dealing with plain python objects the entire time, but searching is alpha/omega in this case and will break it completly if not implemented correctly.
Any hints, tips, flames or just emails sent out of boredome, I'm a lonely coder who needs a stinkin' break before I go completly nuts, so any feedback will be great. :->
Thomas
_______________________________________________ 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 )
Phil Harris wrote:
Have you seen the Zope on CDROM howto?
Try searching on zope.org (when it's back up that is) for it.
I don't think it's relevant actually. WHat you do want is Jim Fulton's talk about ZODB from IPC8 - search zope.org for that. -- Itamar S.T. itamar@maxnm.com Fingerprint = D365 7BE8 B81E 2B18 6534 025E D0E7 92DB E441 411C
Thomas Weholt wrote:
Hi,
I'm wondering about using ZODB3 and ZCatalog for a CD-indexing project. The actual cd-roms will seldom change after they've been registered, and I'd like to have some sort of auto-full-text-search feature. How does ZODB3 and ZCatalog fit in this picture? I'm NOT making a Zope-product yet, just a plain python-script, using ZODB/ZCatalog for storage. Later, the thing will have a Zope-interface, but for now I'm having so much trouble with my current implementation using PostgreSQL, mostly due to the fact that I cannot get full-text-searching, that I really need some progress now. I'm dealing with plain python objects the entire time, but searching is alpha/omega in this case and will break it completly if not implemented correctly.
Any hints, tips, flames or just emails sent out of boredome, I'm a lonely coder who needs a stinkin' break before I go completly nuts, so any feedback will be great. :->
You're definitely looking for this article. It explains very clearly how to access ZODB without the rest of the Zope framework. http://starship.python.net/~amk/python/writing/zodb-zeo.html Shane
I have started to use ZCatalog for a great deal of thing, but I'm a little bit conserned about scalability. If I whan to move my applications to a ZEO configuration how will my ZCatalogs be distributed. I use ZCatalogs alote and they may become quite large, so what will happen when a ZCatalog is updated, for instance if a new object registers it self and gets indexed. 1. The ZEO server sends expiration messages to all ZEO clients. 2. The ZEO clients then new to get updated ZCatalog from the server. Does the clients have to get the all of the ZCatalog or just the indexes thats been updated? Does it have to get the whole index or can it just get the updated information? Are there any "pattern/howto" to use when working with Catalog that will optimize for scalability? Regards, Johan Carlsson
participants (5)
-
Itamar Shtull-Trauring -
Johan Carlsson -
Phil Harris -
Shane Hathaway -
Thomas Weholt