After upgrading to service pack 18, the search within the Author Assets section of our AEM does not function properly. There are 3 main issues:
1. The filters section on the left side of the search results does not appear or function.
2. The number of results on the page shows incorrectly as -1 of -1.
3. When scrolling down through the results, only about the first < 20 results can be seen, and then the rest of the results show as a gray box with the asset preview never loading.
Has anyone else figured out a fix for this issue?
The issue does not happen with Service Packs 17 and below, and it is not fixed by upgrading from Service Pack 18 to 19.
The only issue reported in any logs is this:
14.02.2024 09:36:40.881 *WARN* [[0:0:0:0:0:0:0:1] [1707925000122] GET /mnt/overlay/granite/ui/content/shell/omnisearch/searchresults.html HTTP/1.1] org.apache.jackrabbit.oak.plugins.index.lucene.util.FacetHelper facets for jcr:content/metadata/dam:status not yet indexed: java.lang.IllegalArgumentException: field "jcr:content/metadata/dam:status_facet" was not indexed with SortedSetDocValues
Solved! Go to Solution.
Views
Replies
Total Likes
We found the issue that is causing this to happen. Starting with service pack 18, the lodash clientlib has been removed from AEM. We had a piece of code with a dependency on lodash, and without it there, the search could not function properly.
It looks like the property is not indexed dam:status_facet. Please check this thread: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/unable-to-filter-assets-ba...
You could potentially fix this by including this property in the damAssetLucene
I saw that other thread before posting my question and based on the comments in there, it appears this is an issue with the product, since someone was able to reproduce the issue on a vanilla instance running service pack 15.
@EstebanBustamante Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
I guess the question goes for @laniweisbart , can we close this thread?
Our environment is still broken so I am still working on this.
We found the issue that is causing this to happen. Starting with service pack 18, the lodash clientlib has been removed from AEM. We had a piece of code with a dependency on lodash, and without it there, the search could not function properly.
Views
Likes
Replies