I have tried the below query in query builder but results showing up zero, I'm getting results only when I remove type=dam:Asset. I have verified in crx, the assets are of primary type dam:Asset only.
path=/content/dam/test
type=dam:Asset
p.limit=-1
p.guessTotal=true
property.value=ABC123
p.nodedepth=3
property=jcr:content/metadata/customProperty
p.hits=full
Solved! Go to Solution.
Views
Replies
Total Likes
By rebuild I mean to run reindex process. Please follow below steps:
After above process is completed you can try to run your query once again to see if that helps.
Hi @santhosh_kumark, I have checked your query on my AEM instance by and it works fine. What I have observed locally, is that using type=dam:Asset will use damAssetLucene(/oak:index/damAssetLucene) index and when typed is removed completely I got information that it is traversal query.
So base on above I would suggest first to rebuild damAssetLucene(/oak:index/damAssetLucene), if this will not help maybe you will need to extend your index adding your custom property.
By rebuild I mean to run reindex process. Please follow below steps:
After above process is completed you can try to run your query once again to see if that helps.
Santhosh,
Given query is working perfectly fine in my local instance,
As suggested by @lukasz-m, check your indexes and additionally you should setup debug level logs at com.day.cq.search.impl.builder.QueryImpl (path), to further troubleshoot the issue.
follow below ref documentation for more information..
Query Builder API | Adobe Experience Manager
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies