Indexing RelationValues in Portal Catalog

Hi all,

I have a use case where I'd like to store the index of the to_id attribute of a relationvalue field in the portal catalog. My attempts and searches came up with nothing usable. How is this done?

1 Like

Start by reading README.rst of package plone.indexer.

Cheers I guess,

Was having a senior moment


  <adapter name="kundenname_verweis"

def getRelationToId(obj):
    field = obj.kundenname_verweis
    return field.to_id
1 Like