how to exclude path for indexing /oak:index/damAssetLucene ? | Community
Skip to main content
Level 4
January 31, 2023
Solved

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

  • January 31, 2023
  • 1 reply
  • 1807 views

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

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by DEBAL_DAS

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

 

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

1 reply

DEBAL_DAS
DEBAL_DASAccepted solution
New Member
January 31, 2023

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

 

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

Debal Das, Senior AEM Consultant
Level 4
February 1, 2023

Thanks  @debal_das . Do we need to do after deployment in the jcr? 

Level 4
February 2, 2023

Sharing my personal experience.

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


@debal_das ,Thanks.