AEM DAM Free Text Search

Avatar

Avatar
Validate 1
Level 2
sahilw46733527
Level 2

Likes

3 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 3
View profile

Avatar
Validate 1
Level 2
sahilw46733527
Level 2

Likes

3 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 3
View profile
sahilw46733527
Level 2

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
Give Back 5
Employee
vanegi
Employee

Likes

392 likes

Total Posts

378 posts

Correct reply

148 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile

Avatar
Give Back 5
Employee
vanegi
Employee

Likes

392 likes

Total Posts

378 posts

Correct reply

148 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile
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
Coach
MVP
Arun_Patidar
MVP

Likes

1,462 likes

Total Posts

3,328 posts

Correct reply

949 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,462 likes

Total Posts

3,328 posts

Correct reply

949 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

15-07-2020

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

Avatar

Avatar
Give Back 10
MVP
Varun_Shakya
MVP

Likes

124 likes

Total Posts

97 posts

Correct reply

24 solutions
Top badges earned
Give Back 10
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Give Back 10
MVP
Varun_Shakya
MVP

Likes

124 likes

Total Posts

97 posts

Correct reply

24 solutions
Top badges earned
Give Back 10
Ignite 3
Ignite 1
Give Back 5
Give Back 3
View profile
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