Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Experience Fragments & OOTB Search

sachinn20956098
Level 2
Level 2

I'm looking into into leveraging Experience Fragments in AEM 6.4 for a multisite.

 

However, the OOTB search uses a PATH to search for keywords, since the actual /content/site/.. tree will not contain the actual content BUT the references to the Experience Fragments, the search no longer returns results for content. If we include /content/experience-fragment as the search path then it returns the actual XF path itself which is not desired.

 

What would be the recommendation for an OOTB Search implementation? Ideally, the search should just return the content page from where the XF is referenced. Is there any way to achieve this OOTB ? 

 

Thanks in advance! 

1 Accepted Solution
asutosh_jena
Correct answer by
Community Advisor
Community Advisor

Hi @sachinn20956098 

 

Experience Fragments support Fulltext Search. So you should be able to use it and it will return the content path where it is referenced, not the XF page path.

I am using it in 2 of the website and it works perfectly fine!

 

Please see the link below:

https://medium.com/@shalima.ebrahim331/adobe-experience-manager-6-5-top-features-c3037bccdae2

 

https://experienceleague.adobe.com/docs/experience-manager-learn/sites/experience-fragments/experien...

 

https://github.com/AdobeDocs/experience-manager-learn.en/blob/master/help/foundation/administration/...

 

Please ensure you have the below property on your XFs.

cq:xfVariantType -> web

 

Thanks!

View solution in original post

1 Reply
asutosh_jena
Correct answer by
Community Advisor
Community Advisor

Hi @sachinn20956098 

 

Experience Fragments support Fulltext Search. So you should be able to use it and it will return the content path where it is referenced, not the XF page path.

I am using it in 2 of the website and it works perfectly fine!

 

Please see the link below:

https://medium.com/@shalima.ebrahim331/adobe-experience-manager-6-5-top-features-c3037bccdae2

 

https://experienceleague.adobe.com/docs/experience-manager-learn/sites/experience-fragments/experien...

 

https://github.com/AdobeDocs/experience-manager-learn.en/blob/master/help/foundation/administration/...

 

Please ensure you have the below property on your XFs.

cq:xfVariantType -> web

 

Thanks!

View solution in original post