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 async and fulltext-async indexing lanes are reported as failing.
  • The JMX MBeans for IndexStats show Failing = true, and FailingIndexStats contains 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.

  1. 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=IndexStats
    • org.apache.jackrabbit.oak:name=fulltext-async,type=IndexStats
  2. For each MBean, check:

    • Failing (should be true for the affected lane)
    • FailingIndexStats (shows the path of the affected index, such as /oak:index/damAssetLucene)
  3. Go to the Oak Index Definitions status page at https://<your-aem-hostname>/system/console/status-oak-index-defn.

  4. Locate the identified index and note its type (typically lucene), async lane (such as async or fulltext-async), size, and estimated entry count.

  5. Rebuild the corrupt index using one of these methods:
    For smaller indexes (online reindexing):

    1. (Optional) Enable index logging at https://<your-aem-hostname>/system/console/slinglog by adding a logger for org.apache.jackrabbit.oak.plugins.index at INFO or DEBUG level.

    2. Set reindex=true on 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.
    3. Monitor index.log or error.log for reindexing progress and completion.

    4. After reindexing, verify via JMX MBeans that Failing = false, LatestError is empty, and LastIndexedTime is recent. Confirm the health report is no longer critical.

    For large indexes (offline reindexing with oak-run):

    1. Plan a maintenance window and stop the Author instance.

    2. 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>

    3. Restart the Author instance and validate that indexing has recovered.

  6. Confirm that the Asynchronous Indexes health check is no longer in a critical state and that indexing lanes are progressing normally.

recommendation-more-help
experience-cloud-kcs-help-kbarticles