[Zope3-Users] Anyone had any success with ZCatalog in Zope 3?

Ivo van der Wijk vladdrac at gmail.com
Thu Nov 17 07:17:53 EST 2005


On 11/17/05, Johan Carlsson <johanc at easypublisher.com> wrote:
>
> Anyone had any success with ZCatalog in Zope 3?
>
> I'm trying to add indexes to the catalog
> but I get an ComponentLookupError:
>
> Error type: zope.component.interfaces.ComponentLookupError
> Error object: (<InterfaceClass zope.app.intid.interfaces.IIntIds>, '')
>
> I'm not sure how to setup the IntIds utility, what I've done so far
> is just add one and give it an random name.
>

I managed to create a working Catalog/IntId setup in cubic, along with
actual indexing/searching (and a quick'n'dirty port of TextIndexNG3).

I can't remember details right now (been to long), but you could take
a peak at the code at

https://secure.m3r.nl/repos/opensource/zope3/cubic/trunk/

Specifically,

https://secure.m3r.nl/repos/opensource/zope3/cubic/trunk/cubic/core/cubicportal.py
and
https://secure.m3r.nl/repos/opensource/zope3/cubic/trunk/cubic/core/catalog/catalog.py

might give you some directions.

Regards,

  Ivo

--
Drs. I.R. van der Wijk / m3r Consultancy B.V.
Linux/Python/Zope/Plone and Open Source solutions
PO-box 51091, 1007 EB Amsterdam, The Netherlands
Email: ivo <at> m3r.nl


More information about the Zope3-users mailing list