Search assets in AEM search-assets-in-aem
ÃÛ¶¹ÊÓƵ Experience Manager Assets provides robust asset search methods that help you achieve higher content velocity. Your teams can reduce time to market with seamless, intelligent asset search experience using out-of-the-box functionality and custom methods. Search assets capability is central to the usage of a digital asset management system – be it for further use by creatives, for robust management of assets by the business users and marketers, or for administration by DAM administrators. Simple, advanced, and custom searches that you can perform via Assets user interface or other apps and surfaces help fulfill these use cases.
Asset search in AEM supports the following use cases and this article describes the usage, concepts, configurations, limitations, and troubleshooting for these use cases.
Search assets using the Omnisearch field at the top of the Experience Manager web interface. Go to Assets > Files in Experience Manager, click
in top bar, enter search keyword, and select Return
. Alternatively, use the keyword shortcut /
(forward slash) to open the Omnisearch field. Location:Assets
is pre-selected to limit the searches to DAM assets. Path:/content/dam
also displays when you are performing search at the root level within the Files folder. If you navigate to any other folder, Path:/content/dam/<folder name>
displays in the Omnisearch field to limit the search scope to the current folder. Experience Manager provides suggestions as you start typing a search keyword.
Use the Filters panel to search for assets, folders, tags, and metadata. You can filter search results based on the various options (predicates), such as, file type, file size, last modified date, status of asset, insights data, and ÃÛ¶¹ÊÓƵ Stock licensing. You can customize the Filters panel and add or remove search predicates using search facets. The File Type filter in the Filters panel has mixed-state checkboxes. Therefore, unless you select all the nested predicates (or formats) the first-level checkboxes are partially checked.
Experience Manager search capability supports searching for collections and searching for assets within a collection. See search collections.
Understand asset search interface searchui
Familiarize yourself with the asset search interface and the available actions.
Figure: Understand Experience Manager Assets search results interface.
A. Save search as a smart collection.
B. Filters or predicates to narrow the search results.
C. Display files, folders, or both.
D. Search location is DAM.
E. Access Saved Searches.
F. Click Filters to open or close the left rail.
G. Shows Assets as default search.
H. Search location is DAM.
I. Omnisearch field with user-provided search keyword.
J. Select the loaded search results.
K. Sort by Created, Modified, Name, None.
L. Sort by Ascending or Descending order.
M. Number of displayed search results out of the total search results. N. Close search.
O. Switch between card view and list view.
Dynamic search facets dynamicfacets
You can discover the desired assets faster from the search results page using the dynamically updated number of expected search results in the search facets. The expected number of assets are updated even before applying the search filter. Seeing the expected count against the filter helps you navigate through the search results quickly and efficiently.
Figure: See the approximate number of assets without filtering search results in search facets.
Experience Manager Assets displays facet counts for two properties by default:
-
Asset type (jcr:content/metadata/dc:format)
-
Approval status (jcr:content/metadata/dam:status)
As of August 2023, Experience Manager Assets includes a new version 9 of damAssetLucene
index. The previous versions, damAssetLucene-8
and below, use the statistical
mode to check access control on a sample of the items for each search facet count.
damAssetLucene-9
changes the behavior of Oak Query facet counting to no longer evaluate access control on the facet counts returned by the underlying search index, which results in the faster search response times. As a result, users might be presented with facet count values, which include assets that they do not have access to. Those users cannot access, download, or read any other detail of those assets, including their paths, or gain any further information about them.
If you need to switch to the previous behavior (statistical
mode), see Content Search and Indexing to create a custom version of the damAssetLucene-9
index. ÃÛ¶¹ÊÓƵ does not recommend switching to the secure
mode due to the impact on search response times with large result sets.
For more information on Oak’s facet capabilities, including a detailed description of these modes, see .
Search suggestions as you type searchsuggestions
When you start typing a keyword, Experience Manager suggests the possible search keywords or phrases. The suggestions are based on the assets in Experience Manager. Experience Manager indexes all the metadata fields to help with search. To provide search suggestions, the system uses the values of the following few metadata fields. To provide search suggestions, consider populating the following fields with appropriate keywords:
- Asset tags. (maps to
jcr:content/metadata/cq:tags
) - Asset title. (maps to
jcr:content/metadata/dc:title
) - Asset description. (maps to
jcr:content/metadata/dc:description
) - Title in the JCR repository. The value may get mapped to Asset title. (maps to
jcr:content/jcr:title
) - Description in the JCR repository. The value may get mapped to Asset description. (maps to
jcr:content/jcr:description
)
Understand search results and behavior searchbehavior
Basic search terms and results searchbasics
You can run keyword searches from the OmniSearch field. The keyword search is not case-sensitive and is a full-text search (across the popular metadata fields). If more than one keyword is used, AND
is the default operator between the keywords.
The results are sorted by relevance, starting with closest matches. For multiple keywords, more relevant results are the assets that contain both terms in their metadata. Within metadata, keywords appearing as smart tags are higher ranked than keywords appearing in other metadata fields. Experience Manager allows giving a particular search term higher weight. Also, it is possible to boost the rank of a few targeted assets for specific search terms.
To quickly find the relevant assets, the rich interface provides filtering, sorting, and selection mechanisms. You can filter results based on multiple criteria and see number of searched assets for various filters. Alternatively, you can rerun search by changing the query in the Omnisearch field. When you change your search terms or filters, the other filters remain applied to preserve your search’s context.
When the results are many assets, Experience Manager displays the first 100 in the card view and 200 in the list view. As users scroll, more assets are loaded. This is to improve the performance. Watch a video demonstration of the .
At times, you may see some unexpected assets in the search results. For more info, see unexpected results.
Experience Manager can search many file formats and the search filters can be customized to suit your business requirements. Contact your administrator to understand what search options are made available for your DAM repository and what restrictions your account has.
Search ranking and boosting searchrank
The search results that match all search terms in metadata fields are displayed first, followed by the search results that match any of the search terms in the smart tags. In the above example, the approximate order of display of search results is:
- Matches of
woman running
in the various metadata fields. - Matches of
woman running
in smart tags. - Matches of
woman
or ofrunning
in smart tags.
You can improve the relevance of keywords for particular assets to help boost searches based on the keywords. In other words, the images for which you promote specific keywords appear at the top of the search results when you search based on these keywords.
- From the Assets user interface, open the properties page for the asset. Click Advanced and click Add under Elevate for search keywords.
- In the Search Promote box, specify a keyword for which you want to boost the search for the image and then click Add. You can specify multiple keywords in the same way.
- Click Save & Close. The asset which you promoted for this keyword appears among the top search results.
You can use this to your advantage by boosting the rank of some assets in the search results for the targeted keyword. See the example video below. For detailed info, see search in Experience Manager.
Video: Understand how search results are ranked and how the rank can be influenced.
Configure asset batch size to display search results configure-asset-batch-size
Administrators can now configure the batch size of assets that display when you perform a search. The asset search results display in multiples of the configured batch size number when you further scroll down to load the results. You can select from the available batch sizes of 200, 500, and 1000 assets. Setting a lower batch size number results in faster search response times.
For example, if you set the result count limit to a batch size of 200 assets, Experience Manager Assets displays a batch size of 200 assets in the search results when you start performing the search. When you scroll down to navigate through the search results, the next batch of 200 assets is displayed. The process continues until all assets that match the search query are displayed.
To configure the asset batch size:
-
Navigate to Tools > Assets > Assets Configurations > Assets Omnisearch Configuration.
-
Select the result count limit and click Save.
Advanced search scope
Experience Manager provides various methods like filters that apply to the searched assets, to help you locate the desired assets faster. A few commonly used methods are described below. Some illustrated examples are shared below.
Search for files or folders: In the search results, see either files, folders, or both. From Filters panel, you can select the appropriate option. See search interface.
Search for assets within a folder: You can limit the search to a specific folder. In the Filters panel, add path of a folder. You can select only one folder at a time.
Figure: Limit search results to a folder by adding a folder path in Filters panel.
Find similar images visualsearch
To find images that are visually similar to a user-selected image, click Find Similar option from the card view of an image or from the toolbar. Experience Manager displays the smart tagged images from the DAM repository that are similar to a user-selected image.
Figure: Find similar images using the option in the card view.
ÃÛ¶¹ÊÓƵ Stock images adobe-stock
From within the Experience Manager user interface, users can search ÃÛ¶¹ÊÓƵ Stock assets and license the required assets. Add Location: ÃÛ¶¹ÊÓƵ Stock
in the Omnisearch bar. You can also use Filters panel to find all the licensed or unlicensed assets or search a specific asset using ÃÛ¶¹ÊÓƵ Stock file number.
Dynamic Media assets dmassets
You can filter for Dynamic Media images by selecting Dynamic Media > Sets from the Filters panel. It filters and displays assets such as image sets, carousels, mixed media sets, and spin sets.
GQL search using specific values in metadata fields gql-search
You can search assets based on exact values of metadata fields, such as, title, description, and creator. The GQL full-text search feature fetches only those assets whose metadata value exactly matches your search query. The names of the properties (Creator, Title, and so on) and the values are case-sensitive.
The properties path
, limit
, size
, and orderby
cannot be combined using OR
operator with any other property.
The keyword for a user-generated property is its field label in the property editor in lowercase, with spaces removed.
Here are some examples of search formats for complex queries:
- To display all assets with multiple facets fields (for example: title=John Doe and creator tool = ÃÛ¶¹ÊÓƵ Photoshop):
title:"John Doe" creatortool:ÃÛ¶¹ÊÓƵ*
- To display all assets when the facets value is not a single word but a sentence (for example: title=Scott Reynolds):
title:"Scott Reynolds"
- To display assets with multiple values of a single property (for example: title=Scott Reynolds or John Doe):
title:"Scott Reynolds" OR "John Doe"
- To display assets with property values starting with a specific string (for example: title is Scott Reynolds):
title:Scott*
- To display assets with property values ending with a specific string (for example: title is Scott Reynolds):
title:*Reynolds
- To display assets with a property value that contains a specific string (for example: title = Basel Meeting Room):
title:*Meeting*
- To display assets that contain a particular string and have a specific property value (for example: search for string ÃÛ¶¹ÊÓƵ in assets having title=John Doe):
*ÃÛ¶¹ÊÓƵ* title:"John Doe"
Search assets from other Experience Manager offerings or interfaces search-assets-other-surfaces
ÃÛ¶¹ÊÓƵ Experience Manager connects DAM repository to various other Experience Manager solutions to provide faster access to digital assets and streamline the creative workflows. Any asset discovery starts with browse or search. The search behavior largely remains the same across the various surfaces and solutions. Some search methods change as the target audience, the use cases, and the user interface vary across the Experience Manager solutions. The specific methods are documented for the individual solutions at the links below. The universally applicable tips and behaviors are documented in this article.
Search assets from ÃÛ¶¹ÊÓƵ Asset Link panel aal
Using ÃÛ¶¹ÊÓƵ Asset Link, the creative professionals can now access content stored in Experience Manager Assets, without leaving the supported ÃÛ¶¹ÊÓƵ Creative Cloud apps. Creatives can seamlessly browse, search, check out, and check in assets using the in-app panel in the ÃÛ¶¹ÊÓƵ Creative Cloud apps: ÃÛ¶¹ÊÓƵ Photoshop, ÃÛ¶¹ÊÓƵ Illustrator, and ÃÛ¶¹ÊÓƵ InDesign. Asset Link also allows users to search visually similar results. The visual search display results are powered by ÃÛ¶¹ÊÓƵ Sensei’s machine learning algorithms and help users find aesthetically similar images. See using ÃÛ¶¹ÊÓƵ Asset Link.
Search assets in Experience Manager desktop app desktop-app
Creative professionals use the desktop app to make the Experience Manager Assets easily searchable and available on their local desktop (Win or Mac). Creatives can easily reveal the desired assets in Mac Finder or Windows Explorer, opened in desktop applications, and changed locally - the changes are saved back to Experience Manager with a new version created in the repository. The application supports basic searches using one or more keywords, *
and ?
wildcards, and AND
operator. See browse, search, and preview assets in desktop app.
Search assets in Brand Portal brand-portal
Line-of-business users and marketers use Brand Portal to efficiently and securely share the approved digital assets with their extended internal teams, partners, and resellers. See search assets on Brand Portal.
Search ÃÛ¶¹ÊÓƵ Stock images adobe-stock1
From within the Experience Manager user interface, users can search ÃÛ¶¹ÊÓƵ Stock assets and license the required assets. Add Location: ÃÛ¶¹ÊÓƵ Stock
in the Omnisearch field. You can also use Filters panel to find all the licensed or unlicensed assets or search a specific asset using ÃÛ¶¹ÊÓƵ Stock file number. See manage ÃÛ¶¹ÊÓƵ Stock images in Experience Manager.
Search Dynamic Media assets search-dynamic-media-assets
You can filter for Dynamic Media images by selecting Dynamic Media > Sets from the Filters panel. It filters and displays assets such as image sets, carousels, mixed media sets, and spin sets. While authoring web pages, the authors can search for sets from within the Content Finder. A filter for sets is available in a pop-up menu.
Search assets in Content Finder when authoring web pages content-finder
Authors can use Content Finder to search the DAM repository for the relevant assets and use the assets in the web pages they create. Authors can also use the Connected Assets functionality to search for assets that are available on a remote Experience Manager deployment. Authors can then use these assets in web pages on a local Experience Manager deployment. See use remote assets.
Search collections collections
Experience Manager search capability supports searching for collections and searching for assets within a collection. See search collections.
Asset selector asset-picker
Asset selector (called asset picker in prior versions of ÃÛ¶¹ÊÓƵ Experience Manager) lets you search, filter, and browse the DAM assets in a special way. Asset selector is available at https://[aem_server]:[port]/aem/assetpicker.html
. You can fetch the metadata of assets that you select using the asset selector. You can launch it with supported request parameters, such as asset type (image, video, text) and selection mode (single or multiple selections). These parameters set the context of the asset selector for a particular search instance and remain intact throughout the selection.
The asset selector uses the HTML5 Window.postMessage
message to send data for the selected asset to the recipient. It works only in the browse mode and only with the Omnisearch result page.
Pass the following request parameters in a URL to launch the asset selector in a particular context:
/content/dam/we-retail/en/activities
selected, the URL should be of the form: https://localhost:4502/aem/assetpicker.html/content/dam/we-retail/en/activities?assettype=images
mode
https://localhost:4502/aem/assetpicker.html?mode=single
https://localhost:4502/aem/assetpicker.html?mode=multiple
dialog
root
https://localhost:4502/aem/assetpicker.html?assettype=images&root=/content/dam/we-retail/en/activities
viewmode
assettype
and mimetype
parameters.assettype
https://localhost:4502/aem/assetpicker.html?viewmode=search&assettype=images
https://localhost:4502/aem/assetpicker.html?viewmode=search&assettype=documents
https://localhost:4502/aem/assetpicker.html?viewmode=search&assettype=multimedia
https://localhost:4502/aem/assetpicker.html?viewmode=search&assettype=archives
mimetype
/jcr:content/metadata/dc:format
) of an asset (wildcard also supported).https://localhost:4502/aem/assetpicker.html?mimetype=image/png
https://localhost:4502/aem/assetpicker.html?mimetype=*png
https://localhost:4502/aem/assetpicker.html?mimetype=*presentation
https://localhost:4502/aem/assetpicker.html?mimetype=*presentation&mimetype=*png
To access the asset selector interface, go to https://[aem_server]:[port]/aem/assetpicker
. Navigate to the desired folder, and select one or more assets. Alternatively, search for the desired asset from the Omnisearch box, apply filter as required, and then select it.
Figure: Browse and select asset in the asset selector.
Limitations limitations
The search capability in Experience Manager Assets has the following limitations:
- Do not enter a leading space in the search query otherwise the search does not work.
- Experience Manager may continue to show the search term after you select properties of an asset from searched results and then cancel the search.
- When searching for folders or files and folders, the search results cannot be sorted on any parameter.
- If you select
Return
without typing in Omnisearch bar, Experience Manager returns a list of only files and not folders. If you search specifically for folders without using a keyword, Experience Manager does not return any results. - You can perform full-text search on folders. Specify a search term for the search to work.
Visual search or similarity search has the following limitations:
- Visual search works best with a large repository. While there is no minimum number of images required for good results, the quality of matches with a few images is not as good as the matches from a large repository.
- You cannot change the model or train Experience Manager to find similar images. For example, adding or removing smart tags to a few assets does not change the model. The assets do get excluded from the visually similar search results.
The search functionality can have performance limitations in the following scenarios:
- Card view has a faster load time as compared to list view to display the search results.
Search tips tips
-
When monitoring the review status of assets, use the appropriate option to find which assets are approved or assets that are pending approval.
-
Use the Insights predicate to search for supported assets based on their usage statistics obtained from various Creative apps. Usage data is grouped under Usage score, Impressions, Clicks, and Media channels where the assets appear categories.
-
Use the Select All check box to select the searched assets. Experience Manager initially displays 100 assets in card view and 200 assets in list view. More assets are loaded as you scroll the search results. You can select more assets than the loaded assets. The count of the selected assets is displayed in the upper-right corner of the search results page. You can operate on the selection, for example, download the selected assets, update metadata properties in bulk for the selected assets, or add the selected assets to a Collection. When more assets are selected than displayed, an action is either applied on all selected assets or a dialog displays the number of assets it is applied on. To apply an action to the assets that did not load, ensure that all assets are explicitly selected.
-
To search for assets that do not contain the mandatory metadata, see mandatory metadata.
-
Search uses all metadata fields. A generic search, such as searching for 12, usually returns many results. For better results, use double (not single) quotes or ensure that the number is contiguous to a word without a special character (for example,
shoe12
). -
Full-text search supports operators such as
-
and^
. To search these letters as string literals, enclose the search expression in double quotes. For example, use"Notebook - Beauty"
instead ofNotebook - Beauty
. -
If the search results are too many, limit the scope of search to zero-in on the desired assets. It works best when you have some idea of how to better look for the desired assets, for example, specific file type, specific location, specific metadata, and so on.
-
Tagging: Tags help you categorize assets that can be browsed and searched more efficiently. Tagging helps in propagating the appropriate taxonomy to other users and workflows. Experience Manager offers methods to automatically tag assets using ÃÛ¶¹ÊÓƵ Sensei’s artificially intelligent services that keep getting better at tagging your assets with usage and training. When you search for assets, the smart tags are factored in. It works alongside the in-built search functionality. See search behavior. To optimize the order in which the search results are displayed, you can boost the search ranking of a few select assets.
-
Indexing: Only indexed metadata and assets are returned in the search results. For better coverage and performance, ensure proper indexing and follow the best practices. See indexing.
Some examples illustrating search samples
Use double quotations around keywords to find assets that contain the exact phrase in the exact order as specified by the user.
Figure: Search behavior with and without quotation marks.
Search with asterisk wildcard: To broaden the search, use an asterisk before or after the search word to match any number of characters. For example, searching for run without an asterisk does not return assets containing any variation of the word (including in the metadata). An asterisk substitutes for any number of characters. For example,
run
returns assets with exactly run keywordrun*
returns assets withrunning
,run
,runaway
, and so on.*run
returns assets withoutrun
,rerun
, and so on.*run*
returns all possible combinations.
Figure: Illustrating use of asterisk wildcard in Asset search using an example.
Search with question mark wildcard: To broaden the search, use one or more ‘?’ characters to match exact number of characters. For example, in the following illustration,
-
run???
query does not match any asset. -
run????
query matches the wordrunning
with four characters afterrun
. -
??run
query matches the wordrerun
with two characters beforerun
.
Figure: Illustrating use of question mark wildcard in Asset search using an example.
Exclude a keyword: Use dash to search for assets that do not contain a keyword. For example, running -shoe
query returns assets that contain running
, but not shoe
. Similarly, camp -night
query returns assets that contain camp
but not night
. The query camp-night
returns assets that contain both camp
and night
.
Figure: Use of dash to search for assets not containing an excluded keyword.
Custom predicates to filter search results custompredicates
Predicates are used to create facets. Administrators can customize the search facets in the Filters panel using pre-configured predicates. These predicates can be customized using overlays. See create custom predicates.
You can search for digital assets based on one or more of the following properties. Filters that apply on some of these properties are available by default and some other filters can be custom-created to apply on the other properties.
Work with asset search results aftersearch
You can do the following with the assets you have searched in Experience Manager:
- View metadata properties and other information.
- Download one or more assets.
- Use Desktop Actions to open these assets in the desktop app.
- Create smart collections.
- Create a version
- Start a workflow
- Relate or unrelate assets
- Apply filters, using the Filters panel that displays automatically after performing the search, to narrow the search results.
- Navigate to the asset location
Sort search results sort
Sort search results to discover the required assets faster. You can sort the search results in list view and only when you select Files from the Filters panel. Assets uses server-side sorting to quickly sort all the assets (howsoever numerous) within a folder or results of a search query. Server-side sorting provides faster and more accurate results than client-side sorting.
In list view, you can sort the search results just as you can sort assets in any folder. Sorting works on these columns – Name, Title, Status, Dimensions, Size, Rating, Usage, (Date) Created, (Date) Modified, (Date) Published, Workflow, and Checked out.
For limitations of sort functionality, see limitations.
Check detailed information of an asset checkinfo
You can check detailed information of a searched assets from the search result page.
To see all metadata of an asset, select the asset and click properties from the toolbar.
To check the comments on an asset or version history of an asset, click the asset to open large-sized preview. Open timeline in the left rail and select Comments or Versions. You can also sort the timeline activity like comments or versions in a chronological order.
Figure: Sort timeline entries for a search asset.
Download searched assets download
You can download the searched assets and their renditions just as you download regular assets from folders. Select one or more assets from the search results and click Download from the toolbar.
Bulk update metadata properties metadata-updates
It is possible to make bulk updates to the common metadata fields of multiple assets. From the search results, select one or more assets. Click Properties from the toolbar and update the metadata as required. Click Save and Close when done. The previously existing metadata in the updated fields is overwritten.
For the assets that are available in a single folder or a collection, it is easier to update the metadata in bulk without using the search functionality. For the assets that are available across folders or match a common criteria, it is faster to bulk update the metadata via searching.
Smart collections smart-collections
A collection is an ordered set of assets that can include assets from different locations because collections contain only references to these assets. Collections are of the following two types:
- A static reference list of assets, folders, and other collections.
- A dynamic list (smart collection) that populates assets in the collection based on a search criteria.
You can create smart collections based on the search criteria. From the Filters panel, select Files and click Save Smart Collection. See manage collections.
Create a version create-version
Create a version for the assets that display in the search results. Select the asset and click Create > Version. Add an optional label or a comment and click Create. You can also select multiple assets and create versions for them simultaneously.
Create a workflow create-workflow
Similar to the create version capability, you can also create a workflow for the assets that display in the search results. Select the assets and click Create > Workflow. Select the workflow model, specify a title for the workflow, and click Start.
Relate and Unrelate assets relate-unrelate-assets
Relate and unrelate assets that display in the search results. Select the assets and click Relate or Unrelate.
Navigate to asset folder location navigate-asset-folder-location
Navigate to the folder location for assets displayed in the search results. Select the asset and click Show File Location.
Unexpected search results and issues unexpected-results
- Assets matching your query do not exist.
- Whitespace added before the search query.
- Unsupported metadata field contains the keyword that you searched for.
- Search made during an asset’s off-time.
- Search using a different keyword. Alternatively, use smart tagging or similarity search to improve search results.
- Known limitation.
- All metadata fields are not considered for searches. See scope.
- Search later or modify on-time and off-time for the required assets.
- The search filter is either not configured.
- It is not available for your login.
- (Less likely) The search options are not customized on the deployment you are using.
- Contact administrator to check if the search customizations are available or not.
- Contact administrator to check if your account has the privilege/permissions to use the customization.
- Contact administrator and check the available customizations for the Assets deployment you are using.
- Image is not available in Experience Manager.
- Image is not indexed. Typically, when it is recently uploaded.
- Image is not smart tagged.
- Add the image to Assets.
- Contact your administrator to re-index the repository. Also, ensure that you are using the appropriate index.
- Contact your administrator to smart tag the relevant assets.
See also