how to exclude path for indexing /oak:index/damAssetLucene ? | Community
Skip to main content
Level 4
Jan 31, 2023 5:58 AM UTC
Solved

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

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.
DEBAL_DAS
DEBAL_DASAccepted solution
New Participant
Jan 31, 2023 6:15 AM UTC

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.

4 replies

DEBAL_DAS
DEBAL_DASAccepted solution
New Participant
Jan 31, 2023 6:15 AM UTC

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.

Translate
Level 4
Feb 1, 2023 1:56 PM UTC

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

Translate
DEBAL_DAS
New Participant
Feb 1, 2023 2:51 PM UTC

Sharing my personal experience.

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

Translate