How do i get "excerpt include" content searchable

I have several pages that has excerpted content from pages from another space, and this space status can be "current" or "archived" it doesn't matter. I've tried rebuilding content index as well to be sure.

Im not able to get any search results from words that are inside at page with macro excerpt include. 

This happens with instantsearch pluging, and without the plugin.

How can i solve this?

2 answers

Hi Atle,

The search engine indexes can't index the content of a macro, if that macro content is generated at runtime.

The Excerpt Include macro pulls in data from [whatever Excerpt macro you've told it to] when the page is rendered (i.e. opened by a user).  So there is no way for the content of that macro to be indexed. 

If the page that contains the Excerpt macro is in a current space (i.e. it's NOT in an archived space) then the content of the Excerpt macro should be indexed because it's static data.


I dont' know, if I'm too late, but you can use a cache macro to make the reused content searchable. The approach is described on this page:

It works..., but unfortunately not for us, because we use a versioning plugin, which only allows the usage of the include+macro. And this macro is not compatible with the cache-macro.



Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

746 views 33 5
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