[Zope3-dev] TTW Indexes

Martijn Faassen faassen@vet.uu.nl
Wed, 6 Aug 2003 10:48:31 +0200


Paul Winkler wrote:
> On Tue, Aug 05, 2003 at 11:55:57AM +0200, Martijn Faassen wrote:
> > I see two main limitations with the Zope 2 catalog:
> > 
> >   * attributes have to exist on the object with the same name of the
> >     indexes.
> 
> well, sort of... with implicit acquisition, this is not
> much of a limitation in zope 2.

Well, getting those attributes to be in the acquisition namespace 
before indexing still takes some tricky coding, but it's an interesting
observation at least. In addition it would be tricky if you don't have
the attributes anywhere but instead want some method to be called,
something like:

   getMetadataService().getMetadataValue('mymetadataset', 'short_title')

upon indexing.

Regards,

Martijn