Ok, I've tracked it down to the treatment done to values in fields, in my case an fq.
def escape_for_lqs_term(self):
if self in ["AND", "OR", "NOT", ""]:
return u'"%s"' % self
chars = []
for c in self.chars:
if isinstance(c, basestring) and c in self.lucene_special_chars:
chars.append(u'\%s'%c)
else:
chars.append(u'%s'%c)
return u''.join(chars)
===
It seems that solr 4 is not dealing with using an '\' to escape special chars.
it works if I grab the url generated by sunburnt and just use the original value between double quotes (and url-encode, of course)
Is anyone else getting this problem?