This is really a Python question, basic URL escaping. It has nothing to do with Solr.
WARNING: I don't do Python, but a quick google search shows: http://stackoverflow.com/questions/1695183/how-to-percent-encode-url-parameters-in-python Best Erick 2011/10/14 Guizhi Shi <shiguizhi_...@hotmail.com>: > > Hi Dear Sir/Madam > This is George, I m using SOLR,It looks so powerful, I meet a problem, it is > like: > I want to post a request from python script, and pass the http request to my > own SOLR server, but if the request contain the symbol, such as & SOLR will > responsea error. > I use the admin page to do same request, find SOLR convert the & to %26, $ to > %23 > Is there a library, which contains all mapping for those symbol > if yes, could you please send me the Library or mapping list > Thank you > Best Regards > George