Expand my Community achievements bar.

AEM 6.3: Need to implement auto search suggestions for DAM Asset collection

Avatar

Level 1

Hi Team,

My requirement is to get the auto-search suggestions for DAM Asset Collection. As i have checked in my AEM instance there is no OOB functionality provided my AEM for DAM asset collection. So we need to implement this, As when we are giving any metadata values for any Asset collection folder in search box then we should have auto suggestions for the same.

I checked the same with assets, for that we are getting the auto-search suggestions. So is there any way to implement this for DAM asset collection. Please suggest.

Thanks & Regads,

Rajat Pandey

3 Replies

Avatar

Level 1

smacdonald2008Amy_WongWoojinDebbieclawsonMarilynlee17theblair​ guys please respond if you have any idea about this requirement.

Thanks,

Rajat

Avatar

Level 10

I am not aware of any examples that will help you here. I have asked the Asset team to look at this question.

Avatar

Level 4

No, AFAIU the Search Suggestion for Collections needs to be achieved at project level through custom implementation. No OOTB feature having this kind of support or close to this requirement.

You could use OmniSearch API to integrate the suggestions with OmniSearch result page.

https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/reference-materials/javadoc/co...

Proposed steps:

1. Define endpoint which gets hit when entring fulltext at Assets collection page (see how it wokrs in case of Assets page)

2. It should trigger a sling component which call OmniSearchService.getSuggestion against fulltext passed

Make sure index used in collection search uses useInSuggest=true as per lucene documentation.

Jackrabbit Oak – Lucene Index

Thanks,

Ashutosh