best way to exclude assets from search | Community
Skip to main content
asn_india
Level 2
January 8, 2021
Solved

best way to exclude assets from search

  • January 8, 2021
  • 1 reply
  • 956 views

We segregate all less used assets(inactive) to an archive folder in a dam path.

These assets keep growing(thousands of assets) as we have daily job running which will move inactive assets to archive.

To improve performance of asset search it would be useful to exclude the archive folder/path from search.

What is best way to do so?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kunal_Gaba_

You can configure the search forms of Assets Admin UI and add the pattern for exclusion in excludepaths predicate property. 

http://localhost:4502/libs/cq/core/content/tools/customsearch.html/libs/settings/dam/search/facets/assets/jcr:content 

 

For more details refer this documentation - https://experienceleague.adobe.com/docs/experience-manager-65/assets/administer/search-facets.html?lang=en#adding-an-options-predicate 

1 reply

Kunal_Gaba_
Kunal_Gaba_Accepted solution
January 8, 2021

You can configure the search forms of Assets Admin UI and add the pattern for exclusion in excludepaths predicate property. 

http://localhost:4502/libs/cq/core/content/tools/customsearch.html/libs/settings/dam/search/facets/assets/jcr:content 

 

For more details refer this documentation - https://experienceleague.adobe.com/docs/experience-manager-65/assets/administer/search-facets.html?lang=en#adding-an-options-predicate