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
damAssetLuceneindex definition from the legacy approach to Simplified Index Management (SIM) withdiff.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:assetStateproperty. - Before the SIM migration, entering
processingas a keyword in the Assets search returned these assets.
Steps to reproduce
-
Identify an asset in the processing state that displays the Processing badge with a blue background in the Assets UI.
-
In Assets search, enter processing as a plain keyword or fulltext search term.
-
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:
-
Review the current
diff.jsonused for Simplified Index Management and confirm whether thedam:assetStateproperty is explicitly included in the index rules fordamAssetLucene. -
If
dam:assetStateisn’t present, add an explicit property rule fordam:assetStateto thedamAssetLuceneindex configuration indiff.json. For example:code language-none { "properties": [ { "name": "jcr:content/metadata/dam:assetState", "nodeScopeIndex": true, "analyzed": true, "type": "String" } ] } -
Deploy the updated
diff.jsonto the AEM environment. -
Trigger a reindex of the
damAssetLuceneindex. -
After reindexing, search for
processingin the Assets UI and verify that assets in theprocessingstate appear in the results.