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?
You can configure the search forms of Assets Admin UI and add the pattern for exclusion in excludepaths predicate property.
For more details refer this documentation - https://experienceleague.adobe.com/docs/experience-manager-65/assets/administer/search-facets.html?l...