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?
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: https://ffeathers.wordpress.com/2011/05/15/making-the-include-macros-content-appear-the-confluence-search-results/
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.
Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time! We're looking for people to participate in a remote 1-hr workshop...
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!
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