I am executing query which should return me results from page and assets. If keyword appears in title of page or asset, it should be listed first. Otherwise, if keyword appears anywhere else in page or asset, it should be listed in end.
I have added boost value to title in cqPageLucene and damAssetLucene , so that i get top results with search word appearing in title of page or asset.
Problem: I am not getting the required order. The search results always list me pages first and then the list of assets. Ordering within pages or within assets work fine, its just that I don’t get mix of results between page and assets. How can I update my query or index to get the required ordering of pages and assets.
Query
fulltext=fly
2_group.1_type=cq:Page
2_group.2_type=dam:Asset
2_group.p.or=true
3_group.1_path=/content/we-retail/us
3_group.2_path=/content/dam/we-retail
3_group.p.or=true
p.limit=10
p.or=false
p.offset=0
Actual Results
Expected Results
Solved! Go to Solution.
Views
Replies
Total Likes
@Akash_Ramchanda : Seeing this community now for AEP. I think your question is related to AEM , so better to post here https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ct-p/adobe-experience-mana...
@Akash_Ramchanda : Seeing this community now for AEP. I think your question is related to AEM , so better to post here https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ct-p/adobe-experience-mana...
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies