AEM DAM Free Text Search

Avatar

Avatar

sahilw46733527

Avatar

sahilw46733527

sahilw46733527

15-07-2020

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

vanegi

Employee

Avatar

vanegi

Employee

vanegi
Employee

15-07-2020

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. 

Answers (2)

Answers (2)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Reply

838

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Reply

838
Arun_Patidar
MVP

15-07-2020

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

Avatar

Avatar

Varun_Shakya

MVP

Avatar

Varun_Shakya

MVP

Varun_Shakya
MVP

15-07-2020

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