@feditips @truhe And another bit I forgot: If your server has the full-text search feature installed, you can always search your own posts, even if you have opted out.
And only public posts will be indexed, so if you want to hide an individual post from the search feature but still publicly viewable, just set it to "Unlisted".