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

Learn More

View all

Sign in to view all badges

Force re-index of dam assets

Avatar

Avatar
Validate 1
Level 1
aem-explorer
Level 1

Likes

2 likes

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile

Avatar
Validate 1
Level 1
aem-explorer
Level 1

Likes

2 likes

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
View profile
aem-explorer
Level 1

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)

Avatar

Avatar
Give Back 5
Employee
vanegi
Employee

Likes

392 likes

Total Posts

378 posts

Correct Reply

148 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile

Avatar
Give Back 5
Employee
vanegi
Employee

Likes

392 likes

Total Posts

378 posts

Correct Reply

148 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile
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)

Avatar

Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

192 likes

Total Posts

243 posts

Correct Reply

75 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile

Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

192 likes

Total Posts

243 posts

Correct Reply

75 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
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