You should only use moderated search indexes in production, or <x id="START_LINK" ctype="x-a" equiv-text="<a href="https://framagit.org/framasoft/peertube/search-index">"/>host your own<x id="CLOSE_LINK" ctype="x-a" equiv-text="</a>"/>.
Your IP address is public so every time you consult a website, there is a number of actors (in addition to the final website) seeing your IP in their connection logs: ISP/routers/trackers/CDN and more. PeerTube is transparent about it: we warn you that if you want to keep your IP private, you must use a VPN or Tor Browser. Thinking that removing P2P from PeerTube will give you back anonymity doesn't make sense.