I am having trouble running a query using Pysolr when & and % appear in the query. The rest of the special characters can be handled using a '\' but '&' and '%' are a different case. the following query sends an error, but when & and % are removed it works fine. Can someone help?
http:///1.254.254.254:8983solr/dovecottmail/select?fq=user:%22user@xyz.com%22&indent=on&wt=python&q="https://aws.amazon.com/marketplace/pp/b074m84rjm\%qid=1507365354908\&\;sr=0-1\&\;ref_=srh_res_product_title"