raw_query() turns all it's parameters into unicode objects, and then calls
urllib.urlencode(), which can't really handle unicode in python 2.x, so it
just turns non-ascii into ?'s. This makes it impossible to hand non-ascii to
solr queries. If you encode to utf-8 before passing it to raw_query, the
unicode() constructor throws an exception.
query() doesn't do this to its extra parameters, so to me it seems that
raw_query shouldn't either. Patch attached.
Original issue reported on code.google.com by realy...@gmail.com on 19 Jan 2010 at 10:04
Original issue reported on code.google.com by
realy...@gmail.com
on 19 Jan 2010 at 10:04Attachments: