[Zope-CMF] IIndexableObjectWrapper

Wichert Akkerman wichert at wiggy.net
Sun Apr 5 11:46:51 EDT 2009


Previously yuppie wrote:
> Martin Aspeli wrote:
> > Plone 3.3's IIndexableObjectWrapper implementation (in plone.indexer) 
> > has a method _getWrappedObject(), to return the object that was wrapped 
> > by the indexable object wrapper. It is (or rather, will be) used by 
> > TextIndexNG3, which needs to access the raw object during indexing.
> 
> Why is there a need to access the raw object? The wrapper should provide 
> all the interfaces and attributes required for indexing.

TextIndexNG3 needs the unwrapped object to be able to look for adapters
that provide indexable text for that object.

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.


More information about the Zope-CMF mailing list