In order to hide your users' IP addresses, you will need to implement a completely back end search implementation and simply not forward the user's IP (i.e. do not implement this). You would be forwarding your server's IP instead.
If you do this, you should send a userToken to ensure that analytics and events features work correctly.