Is it possible to make Confluence Server index the content of my custom macro?

I have created a macro that allows the user to edit content in there. Some users are asking for that content to be indexed by Confluence Server. Is it possible?

Thanks.