Searching with simplesearch

Seems that simplesearch extra don`t find any results from galleries. Galleries have rendered exif and iptc data of each image which are vievable. Is it possible somehow include that data in search results?

There is customPackages property in simplesearch. Format:

className:fieldName(s):packageName:packagePath:joinCriteria||class2Name:fieldName(s):package2Name:package2Path:join2Criteria

and example for it:

&customPackages=quipComment:body:quip:{core_path}components/quip/model/:quipComment.resource = modResource.id

Is this where to start or is there a easier and better view with simplesearch.

And how to make it for moregallery when using exifdata and iptc data?

Is there any solutions for this?

I’ve never tried it, but based on what you posted it would be something along these lines for exif:

&customPackages=`mgImage:exif:moregallery:{core_path}components/moregallery/model/:mgImage.resource = modResource.id`

Not work :slightly_frowning_face: Also tried with iptc alone and both, no results:
&customPackages=mgImage:exif,iptc:moregallery:{core_path}components/moregallery/model/:mgImage.resource = modResource.id

And tried also this (with name field in db):

&customPackages=mgImage:exif,iptc,name:moregallery:{core_path}components/moregallery/model/:mgImage.resource = modResource.id

`