embed query into search url
encode space with %20