You have to either convert the user's search term to what your server needs on the client or on the server, whatever makes more sense in your case.