AEM DAM Free Text Search | Community
Skip to main content
sahilw46733527
Level 2
Jul 15, 2020 1:24 PM UTC
Solved

AEM DAM Free Text Search

Hey,

 

we have a requirement that while making a free text search in DAM, search should exclude certain number of properties.

For e.g. if i am searching a text "ABC" then it should not search on the excluded properties.

 

Is there a way to do that in AEM. Any lead will be helpful.

 

 

Regards,

Sahil

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
vanegi
vanegiAccepted solution
Employee
Jul 15, 2020 4:31 PM UTC

As @arunpatidar mentioned, you can either create a custom index or update existing one to exclude the properties.

 

 

Properties like evaluatePathRestrictions, excludedPaths etc can be leveraged here to exclude properties here. 

3 replies

vanegi
vanegiAccepted solution
Employee
Jul 15, 2020 4:31 PM UTC

As @arunpatidar mentioned, you can either create a custom index or update existing one to exclude the properties.

 

 

Properties like evaluatePathRestrictions, excludedPaths etc can be leveraged here to exclude properties here. 

Translate
arunpatidar
New Participant
Jul 15, 2020 4:23 PM UTC

Probably you need to create/update index to exclude properties.

Translate
Arun Patidar
Varun_Shakya
New Participant
Jul 15, 2020 4:18 PM UTC

Creating custom filter or predicate might help here. Create your own predicate with that particular property by which you want to filter your search results, then while searching asset in dam choose that filter which will narrow down your results. In your case you want opposite of it then try negating the whole condition.

Please refer below link

https://docs.adobe.com/content/help/en/experience-manager-65/assets/extending/searchx.html

Translate