Expand my Community achievements bar.

Enable Partial Search for Metadata Containing Dot and Hyphen in AEM Assets Search

Avatar

Employee

1/7/25

Request for Feature Enhancement (RFE) Summary: Enhance the AEM Assets Search to support partial and full-text search functionality for metadata properties containing special characters, such as dot (.) and hyphen (-), as part of their values.
Use-case:

The customer has integrated a custom property (jcr:content/metadata/dc:suffix) into the filter search form and enabled partial search for this property. This property stores metadata values, such as product SKUs, which frequently include dots (.) and hyphens (-) as part of their structure (e.g., OLED48B46LA.AEUQLHX or OLED48B46-LA-AEUQLHX).

However, the current search functionality treats these special characters as delimiters, breaking the search query into tokens and failing to retrieve relevant assets.

For example, search for OLED48B46-LA.AEU* is not working where property value is OLED48B46-LA.AEUQLHX. This issue significantly impacts the customer’s ability to locate assets efficiently, disrupting workflows that depend on precise and reliable search capabilities.

The requested enhancement is critical to ensure accurate partial and full-text search for SKUs and other metadata properties containing dots and hyphens, which are key identifiers for assets in the customer's repository.

 

Customer Impact:
The inability to perform searches with strings containing dots (.) and hyphens (-) limits the customer’s ability to retrieve assets effectively. This impacts search efficiency and accuracy, resulting in significant delays in workflows and operational inefficiencies. Since LG Electronics' SKUs often include these special characters, the current behavior does not meet their requirements, hindering productivity and disrupting processes dependent on seamless asset retrieval.

Current/Experienced Behavior:
  • When querying for strings containing a dot (.) or dash (-), the search functionality does not return the expected results.
  • These characters are currently treated as delimiters, splitting the query into separate tokens. This disrupts partial search capabilities.
  • For example, searching for OLED48B46LA.AEUQLHX fails to retrieve the correct asset.
  • This behavior prevents accurate retrieval of assets when metadata properties, such as SKUs, include dots and dashes, which are commonly used in their structure.
Improved/Expected Behavior:
  • Dot (.) and hyphen (-) should not be treated as delimiters during indexing or querying.
  • Metadata values containing these characters should be indexed as a single token to fully support partial and full-text searches.
  • Users should be able to retrieve assets by searching for SKUs or other metadata values containing dots and dashes without any issues.
Environment Details (AEM version/service pack, any other specifics if applicable): AEM as Cloud (2024.8.17569.20240822T203847Z))
Customer-name/Organization name: LG Electronics
Screenshot (if applicable):  
Code package (if applicable):  
1 Comment

Avatar

Administrator

1/8/25

@UnjiBa 

Thanks for proposing this idea.
This has been reported to the engineering under the internal reference ASSETS-46191. The product team will triage this request to verify feasibility based on the prioritization model. This post will be updated according to Jira's status.
Status changed to: Investigating