Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM DAM Free Text Search

sahilw46733527
Level 2
Level 2

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

1 Accepted Solution
vanegi
Correct answer by
Employee
Employee

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

 

Capture.JPG

 

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

View solution in original post

3 Replies
Varun_Shakya
Community Advisor
Community Advisor

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

Arun_Patidar
Community Advisor
Community Advisor

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

vanegi
Correct answer by
Employee
Employee

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

 

Capture.JPG

 

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

View solution in original post