Regarding:
"search it"
At least currently, a server would not search the relay directly.
Typically, a server would put all the Activities it gets from a relay into its own database. And then, that server would use its own facilities to search the Activities locally (without further involving the relay).
...
