Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

how to exclude path for indexing /oak:index/damAssetLucene ?

Avatar

Level 4

I would like to exclude this path /content/dam/test for all indexing.

how to achieve this?

i have added excludedPaths property like below but still index is happening while extracting the text file.

Added propert:

/oak:index/damAssetLucene

excludedPaths
String[]
/content/dam/test

 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Do one thing after adding that excludedPaths at /oak:index/damAssetLucene , please make reindex property true as shown below and save-

 

DEBAL_DAS_0-1675145644404.png

after some time. value of reindex property will become false and reindexCount will be increased. Then search and check the search results.

View solution in original post

4 Replies

Avatar

Correct answer by
Employee Advisor

Do one thing after adding that excludedPaths at /oak:index/damAssetLucene , please make reindex property true as shown below and save-

 

DEBAL_DAS_0-1675145644404.png

after some time. value of reindex property will become false and reindexCount will be increased. Then search and check the search results.

Avatar

Employee Advisor

Sharing my personal experience.

In my last project one of our admin team members used to make reindex property true directly on environment.