Allow Image to be searched by tags in Plone 5.2

How to get the tags of content of type standard Image of a plone 5.2.6 instance to be reflected in the catalog/search field ?

I have set the same tag on a Page content instance and on a Image content instance. The Page content is found when i enter the tag in the search field, the Image content not.

I cleared and did rebuild the catalog. The Image type is ticked on search settings - site setup.

Any hints ?

Tag (Subject) field is not part of the SearchableText by intend. This is the reason its not found.

In code you can add an own SearchableText indexer for IImage aggregating the fields you want. As a reference look at plone.app.contenttypes code in indexer.py/indexer.zcml.

1 Like