: By the way, I used DisMaxRequestHandler in solrconfig.xml. I googled a : little about DisMaxRequestHandler, it says that '+' and '-' characters : prefixing nonwhitespace characters are treated as "mandatory" and : "prohibited" modifiers for the subsequent terms, but it doesn't say : anything about just '+' or '-' characters.
Hmmm... well if you add debugQuery=true to your requests, and look at the parsed query string, you can see that the "-" is getting applied to the DisjuntionMax query being built for the second clause. which means either the documentation in the wiki is wrong, or there is a bug. i aparently wrote that documentation, and i wrote the orriginal dismax code ... I thought someone else had at some point added in some special escaping for "-" or "+" followed by whitespace (which would explain why i wrote that in the documentation), but i can't see any evidence of it now. so i'm going to change the wiki, and open a bug to add a feature like that ... but in the meantime... : Does anyone know a workaround before I stripped off '+'/'-' by myself? ...i would just do that. -Hoss