I'm going to be writing a general object class for use with zodb. These objects will add themselves to a btree index once they are persisted to the zodb object graph.
I've never really worked with any of this before, but would anyone have any resources and/or advice on doing this?
With zodb's power when dealing with object references and a good indexing strategy, I could end up getting the best of both database worlds.
Any other thoughts are more than welcome, thanks!
Have a look at repoze.catalog:
repoze.catalog is a Python indexing and searching framework. It relies on zope.index and most of its internals are taken from zope.app.catalog. Unlike zope.app.catalog, however, it is meant to be useful outside of the larger Zope framework within arbitrary Python applications.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With