Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Force re-index of dam assets

Avatar

Level 2

I have added a new property of digitial assets to indexed. To force re-indexing, I had to manually update the damLucene node and set reindex to true. If we want to deploy this change on a cloud services application, we will need to ask the node to be manually updated. Is there an admin utility to force re-index without need for the manual node udpate?

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi @aem-explorer,

With ACS "Ensure oak Index" utility, you can trigger force reindex like:

Force reindex:

Property Name: forceReindex

On create or update, the Oak Index can be marked to be immediately re-indexed by setting @forceReindex=true`.

  • /apps/mysite/oak-index/always-reindex-this-index@forceReindex=true

 

See [0] for more details.

[0]: https://adobe-consulting-services.github.io/acs-aem-commons/features/ensure-oak-index/index.html

 

 

In addition, you can also check https://docs.adobe.com/content/help/en/experience-manager-65/deploying/deploying/oak-run-indexing-us... that use oak-run.jar.

 

java -jar oak-run*.jar index --reindex --index-paths=/oak:index/lucene --read-write --fds-path=/path/to/datastore mongodb://server:port/aem

 

 

Thanks!! 

View solution in original post

0 Replies

Avatar

Level 2
It now reads it's deprecated and replaced by the AEM index manager. http://localhost:4502/libs/granite/operations/content/diagnosistools/indexManager.html. There are two questions for this though. 1. It does not have a "reindex" action in this tool and secondly, I know the direct url, but if I go through touch UI, which options is this listed under?

Avatar

Correct answer by
Employee

Hi @aem-explorer,

With ACS "Ensure oak Index" utility, you can trigger force reindex like:

Force reindex:

Property Name: forceReindex

On create or update, the Oak Index can be marked to be immediately re-indexed by setting @forceReindex=true`.

  • /apps/mysite/oak-index/always-reindex-this-index@forceReindex=true

 

See [0] for more details.

[0]: https://adobe-consulting-services.github.io/acs-aem-commons/features/ensure-oak-index/index.html

 

 

In addition, you can also check https://docs.adobe.com/content/help/en/experience-manager-65/deploying/deploying/oak-run-indexing-us... that use oak-run.jar.

 

java -jar oak-run*.jar index --reindex --index-paths=/oak:index/lucene --read-write --fds-path=/path/to/datastore mongodb://server:port/aem

 

 

Thanks!!