Index Patterns for Index Rollups are showing errors on discover, how can I hide it?

I am creating dashboards on opensearch using index rollups. So that way I can see some metrics in a large time range.

The problem is that the index pattern appears on Discover, but it is not searchable there. Because the size of searches on rollups must be 0, and for my other index patterns I use 500. In the end it returns an error pop-up when selecting the rollup index pattern on discover.

I want that some users can see the visualizations and dashboards, but cannot see the index pattern on discover, so the error does not appear for the end user.

Is there anyway to achieve that? or to avoid that the index pattern for rollups show errors on discover without changing the size to 0.