This is by design not part of the protocol, because it has a centralizing aspect to it. There is no global view of everything on nostr, just like there is no global view of everything on the internet. Relays can do this, but it will (and should) remain a custom, optional solution.