Resolve critical Lucene index health issues in Adobe Experience Manager
If the Operational Dashboard Health Report of your Adobe Experience Manager (AEM) Sites Author instance shows a critical state, a corrupt Lucene index might be blocking asynchronous indexing. Identify the affected index and reindex it.
Description description
A critical state in the Asynchronous Indexes health check of the AEM Sites Author instance can occur when a Lucene index becomes corrupt. This causes the asynchronous indexing lanes (async and fulltext-async) to fail, preventing indexing from progressing. The Operational Dashboard Health Report shows a persistent critical alert, and the JMX console indicates that the affected indexing lanes are failing. Temporary checkpoints may accumulate, and the system does not complete indexing cycles until the issue is resolved.
Environment
Adobe Experience Manager (AEM) Sites Author instance (all versions)
Symptoms
- The Operational Dashboard Health Report displays a critical state for Asynchronous Indexes.
- Both
asyncandfulltext-asyncindexing lanes are reported as failing. - The JMX MBeans for
IndexStatsshowFailing = true, andFailingIndexStatscontains the path of the affected index (such as/oak:index/damAssetLucene). - Indexing activity stops progressing, and temporary checkpoints accumulate.
Cause
A corrupt index causes the asynchronous indexing lanes to fail, resulting in a critical state in the health report. Reindexing the affected index restores normal indexing operations.
Resolution resolution
Follow these steps to resolve the issue.
-
Identify the corrupt index. Go to the JMX console on your AEM Author instance at
https://<your-aem-hostname>/system/console/jmx. Open the following MBeans:org.apache.jackrabbit.oak:name=async,type=IndexStatsorg.apache.jackrabbit.oak:name=fulltext-async,type=IndexStats
-
For each MBean, check:
Failing(should betruefor the affected lane)FailingIndexStats(shows the path of the affected index, such as/oak:index/damAssetLucene)
-
Go to the Oak Index Definitions status page at
https://<your-aem-hostname>/system/console/status-oak-index-defn. -
Locate the identified index and note its type (typically
lucene),asynclane (such asasyncorfulltext-async), size, and estimated entry count. -
Rebuild the corrupt index using one of these methods:
For smaller indexes (online reindexing):-
(Optional) Enable index logging at
https://<your-aem-hostname>/system/console/slinglogby adding a logger fororg.apache.jackrabbit.oak.plugins.indexat INFO or DEBUG level. -
Set
reindex=trueon the affected index using CRXDE:- Go to
https://<your-aem-hostname>/crx/de/index.jsp. - Browse to
/oak:index/. - Select the affected index (type =
lucene). - Add or update the property: Name:
reindex, Type:Boolean, Value:true. - Click Save All.
- Go to
-
Monitor
index.logorerror.logfor reindexing progress and completion. -
After reindexing, verify via JMX MBeans that
Failing = false,LatestErroris empty, andLastIndexedTimeis recent. Confirm the health report is no longer critical.
For large indexes (offline reindexing with oak-run):
-
Plan a maintenance window and stop the Author instance.
-
Run the appropriate oak-run indexing command for your AEM/Oak version and repository configuration. For example:
java -jar oak-run-<version>.jar index --fds-path=/path/to/datastore /path/to/segmentstore --reindex /oak:index/<indexName> -
Restart the Author instance and validate that indexing has recovered.
-
-
Confirm that the Asynchronous Indexes health check is no longer in a critical state and that indexing lanes are progressing normally.