Groovy Script Search Index

Hi, i currenty create page content with Groovy. Is it possible to add the content to the search? (Currently i can not search the content with Solr).

Try: doccontentraw:searchword

@NorSch I currently think it’s because I use it as a macro. A better solution would be to use a scheduler and generate a static page every day at night