I have integrated the search function on a customer website.
There is a protected page where some content is only visible to clients.
I have realized this with this cookbook.
In the search, the protected page is displayed as a hit when I search for a word that is in the protected area. Of course, the protected content is not displayed if nobody is logged in. But the person knows on which page secret content is hidden.
Do I have to exclude the entire page from the search, or what solution is there for this undesirable behavior?