If you use Azure Search on a website, you should expose it through Azure Function Proxy. Here is why.