Search page shows empty fields of unpublished content How can I make a filter to my search page that hides unpublished content?

In filter criteria I only have global, indexed and search.
In your view, besides FILTER click on add, select Content Published (YES)