Force re-index of dam assets

aem-explorer

18-07-2020

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?

Accepted Solutions (1)

Accepted Solutions (1)

vanegi

Employee

18-07-2020

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

Answers (1)

Answers (1)

Ravi_Pampana

MVP

18-07-2020

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