Expand my Community achievements bar.

SOLVED

Force re-index of dam assets

Avatar

Level 3

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

3 Replies

Avatar

Community Advisor

Hi,

 

Try checking below link, using below link we can reindex the node property

http://localhost:4502/apps/acs-commons/content/oak-index-manager.html

Avatar

Level 3
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!!