Bundle asset search returns No assets found in AEM Asset Studio

In AEM Asset Studio, bundle asset searches return No assets found after migrating custom Oak indexes to Simplified Index Management. This issue affects searches that use bundle specific metadata fields, such as UPC. To fix this issue, update the index definitions to restore full text search capabilities for bundle specific metadata fields.

Description description

Environment

Adobe Experience Manager (AEM) as a Cloud Service (all versions)

Symptoms

After migrating custom Oak indexes to Simplified Index Management, searches for bundled assets in Asset Studio (such as by UPC or other bundle-specific metadata) return ‘No assets found’ for many bundles. This affects workflows that rely on locating bundled assets using these metadata fields.

Cause

The migration to Simplified Index Management removed the ‘analyzed: true’ setting from certain bundle-specific properties in the Oak index configuration. Without this setting, CONTAINS() queries against these fields don’t return the expected results, causing bundle asset searches to fail.

Resolution resolution

Follow the steps below to resolve the issue:

  1. Review your Oak index definitions for bundle-specific properties such as UPC, material number, component ID, and target channel.
  2. Confirm whether the analyzed: true setting is present for each property in your index definition.
  3. If analyzed: true is missing, update your Simplified Index Management diff.index definition to add full-text mappings for the affected properties, ensuring analyzed: true is set as required. Retain any existing property indexing or facet configuration as needed.
  4. Deploy the updated index configuration to your AEM environment using Cloud Manager or your standard deployment process.
  5. Allow Cloud Manager indexing to complete and verify that a new custom index version is generated.
  6. Use the Explain Query tool to confirm that the new custom index version is selected for relevant queries.
  7. Perform searches in Asset Studio to verify that bundle asset searches now return the expected results.
  8. Check the logs to ensure there are no Fulltext query without index warnings or repository traversal.
recommendation-more-help
experience-cloud-kcs-help-kbarticles