Searching Excerpts

I'm developing two related technical documentation manuals which are hosted in two separate spaces. Some of the information is relevant to both spaces, so I'm marking it with the "Excerpt" macro in the primary space, and including it in a page in the secondary space using "Excerpt Include". I'd like it to be searchable in the second space, but the excerpted text isn't found in a regular search.

I know my users can find the original information by searching the primary space, but I don't want to make that the default for the secondary space -- the reason the documentation is separated into two spaces is because while they cover related topics, there are two distinct user communities.

Is there any way I can make the search of the secondary space include the excerpted text from the primary space?

1 answer

1 accepted

Hello Alex,

There is a possible workaround, made available at Sarah Maddox's blog, here. Still it is a valid request to have it supported natively in Confluence, you can track the request for the feature.

This was posted to the feature request thread:

Install Bob Swift's Cache plugin. Then wrap your include macros with the {cache} macro, using the "index=true" parameter to make the content of the include macros searchable.

{cache:index=true}
{include:mySPACEKEY:My page name}
{cache}

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

900 views 23 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you