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

Trying using a Experience Fragment as Footer, but showing up as Search in Site, how do I exclude it from Site Search.

Avatar

Avatar
Level 1
Elbie47
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
Elbie47
Level 1

Likes

0 likes

Total Posts

6 posts

Correct Reply

0 solutions
View profile
Elbie47
Level 1

09-02-2021

We create and editable template in AEM 6.5 where we utilised an Experience Fragment as the Footer. The pages created from the editable template is seeing the footer in these pages as part of the content and therefore showing up in the site search. 

 

The current footer on rest of site (build in past AEM versions) the author can update, without requiring a deployment, but was excluded from Search as it was Inherited Paragraph, not seeing the option in AEM 6.5.

 

Before we attempt changing the template to hardcode the footer and not allow the author to update and only change with code and deployment.  Is there perhaps recommendation for the forum on an other option with editable template. 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

564 likes

Total Posts

706 posts

Correct Reply

234 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

564 likes

Total Posts

706 posts

Correct Reply

234 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile
Vijayalakshmi_S
MVP

10-02-2021

Hi @Elbie47,

If you are using Query Builder for Site Search functionality, we can make use of excludepaths to exclude experience fragments(/content/experience-fragments/.*) from appearing in search results

https://experienceleague.adobe.com/docs/experience-manager-65/developing/platform/query-builder/quer...

Based on the way site search logic is implemented, we can control search results at query level and/or at index level.

Please let know your search implementation details to arrive at its respective approach.

Answers (2)

Answers (2)

Avatar

Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile

Avatar
Boost 100
Level 6
snbaem
Level 6

Likes

112 likes

Total Posts

242 posts

Correct Reply

35 solutions
Top badges earned
Boost 100
Springboard
Establish
Validate 25
Validate 10
View profile
snbaem
Level 6

09-02-2021

Hi,

Can you explore around using  

<!--googleon: all--> (this was GSA search example which is not in use currently) or its equivalent for the search engine you are using?
It should look something like
<!--googleon: all-->
main.jsp include
<!--googleoff: all-->
 footer.jsp include
<!--googleon: all-->
 

Avatar

Avatar
Springboard
Level 7
KiranVedantam1992
Level 7

Likes

190 likes

Total Posts

199 posts

Correct Reply

60 solutions
Top badges earned
Springboard
Give Back 5
Ignite 1
Affirm 50
Validate 1
View profile

Avatar
Springboard
Level 7
KiranVedantam1992
Level 7

Likes

190 likes

Total Posts

199 posts

Correct Reply

60 solutions
Top badges earned
Springboard
Give Back 5
Ignite 1
Affirm 50
Validate 1
View profile
KiranVedantam1992
Level 7

09-02-2021

Hi @Elbie47,

 

Can you please let me know how the site search is happening? Why is the component coming up in the site search? [Generally, the search is done either on the assets or the content pages]

 

Thanks,

Kiran Vedantam.