AEM Content Hub search doesn’t return results for partial values

Adobe Experience Manager (AEM) Content Hub doesn’t return results for partial value searches because the search analyzer matches complete tokens rather than partial substrings. To resolve the issue, adjust asset naming conventions by using a hyphen as a separator and search for the complete token before the hyphen.

Description description

Environment

Adobe Experience Manager (AEM) Content Hub (all versions)

Issue/Symptoms

  • Searching with a partial value, such as part of an asset identifier, returns no results.
  • Searching with the complete value returns the expected asset.
  • Content Hub search matches complete tokens rather than partial substrings.

Root cause

AEM Content Hub search is configured to match complete tokens rather than partial substrings to avoid excessive noise in search results and maintain consistent search behavior.

Resolution resolution

Follow the steps below to resolve the issue:

  1. Review the asset naming conventions to determine whether they can be adjusted to support more flexible search behavior.
  2. If possible, introduce a hyphen (-) as a separator in asset identifiers. For example, use 123456789-ABC instead of 123456789ABC.
  3. With this naming convention, search for the portion before the hyphen, for example, 123456789, to return assets with the full identifier, such as 123456789-ABC.
  4. Test the search functionality by entering the value before the hyphen and confirm that the expected assets are returned.
  5. If further customization is required, consider contacting your Adobe representative for additional guidance.
recommendation-more-help
experience-cloud-kcs-help-kbarticles