How can we make the content in the body of a plain-text-body macro searchable?

Hello everybody,

we have a dynamic content macro with a plain text body (Confluence Cloud)
Whatever we have in the body, is not searchable.

Are we saving the content wrong or is it not possible/indexed?

<ac:structured-macro ac:name="localtabs" ac:schema-version="1" data-layout="default" ac:local-id="0858e28f-2020-4446-98c7-06fe3b224158" ac:macro-id="2f478a52-f15d-4d5e-adc4-bb4f7ed297b6">
  <ac:parameter ac:name="vertical">false</ac:parameter>
  <ac:plain-text-body>
    <![CDATA[[{"id":"0119d64b-cb58-3097-d28c-3298afffe457","label":"Tab 1","body":{"version":1,"type":"doc","content":[{"type":"paragraph","content":[{"type":"text","text":"- benjamin - "}]}]}}]]]>
  </ac:plain-text-body>
</ac:structured-macro>

Thank you for any help

Hi Benjamin,

I believe at one point the content of the plain text body was indexed, but with a big overhaul of the search 1-2 years ago this was removed and the plain text body is no longer indexed.
But this is just my speculation, someone from Atlassian will probably know better.

2 Likes