How to make include macro content appear in Confluence search results

Sarah Maddox blog

Here is an easy to follow blog:

Notes

  • The page must be rendered at least once before the included data is added to the search index
  • If the included data changes, the change will only be reflected in the index if the page is rendered after the included data has changed
  • Automation using Confluence Command Line Interface (CLI) can help keep data current
    • If you have a large number of pages using the cache macro with automation, make sure you customize the cache storage to ensure other cache macro use is not negatively impacted