Assets in processing state aren’t searchable after migrating to Simplified Index Management

Adobe Experience Manager (AEM) Assets may not return assets in the processing state in fulltext search after migrating damAssetLucene to Simplified Index Management when dam:assetState isn’t explicitly included indiff.json. To resolve the issue, add a property rule for dam:assetState, deploy the updated index configuration, reindex damAssetLucene, and verify the search results.

Description description

Environment

Adobe Experience Manager (AEM) Assets (all versions using Simplified Index Management with diff.json)

Issue/Symptoms

  • After migrating the custom damAssetLucene index definition from the legacy approach to Simplified Index Management (SIM) with diff.json, assets in the processing state aren’t returned in plain fulltext search.
  • Affected assets display the Processing badge with a blue background in the Assets UI and use the OOTB dam:assetState property.
  • Before the SIM migration, entering processing as a keyword in the Assets search returned these assets.

Steps to reproduce

  1. Identify an asset in the processing state that displays the Processing badge with a blue background in the Assets UI.

  2. In Assets search, enter processing as a plain keyword or fulltext search term.

  3. Observe the results:

    • Expected: The asset appears in the results, as it did before the SIM migration.
    • Actual: The asset doesn’t appear.

Root cause

When migrating to Simplified Index Management, only properties explicitly referenced in diff.json are guaranteed to be indexed for fulltext search. If dam:assetState is omitted, assets in the processing state aren’t discoverable through fulltext search.

Resolution resolution

Follow the steps below to resolve the issue:

  1. Review the current diff.json used for Simplified Index Management and confirm whether the dam:assetState property is explicitly included in the index rules for damAssetLucene.

  2. If dam:assetState isn’t present, add an explicit property rule for dam:assetState to the damAssetLucene index configuration in diff.json. For example:

    code language-none
    {
      "properties": [
        {
          "name": "jcr:content/metadata/dam:assetState",
          "nodeScopeIndex": true,
          "analyzed": true,
          "type": "String"
        }
      ]
    }
    
  3. Deploy the updated diff.json to the AEM environment.

  4. Trigger a reindex of the damAssetLucene index.

  5. After reindexing, search for processing in the Assets UI and verify that assets in the processing state appear in the results.

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