: I'm running edismax (on both a 1.4 with patch and a branch_3x version) and : I'm seeing something I don't expect. ... : <str name="rawquerystring">dog cat -trilogy</str> : <str name="querystring">dog cat -trilogy</str> : <str name="parsedquery">allfields:dog allfields:cat : -allfields:trilogi</str> : <str name="parsedquery_toString">allfields:dog allfields:cat : -allfields:trilogi</str>
Hmmm... something is really odd here -- are you sure you are using edismax as your query parser? ... because with Solr 1.4 and edismax you should still be seeing "DisjunctionMaxQuery" show up in your "parsedquery" output. that said: i can definitely confirm that i see a descrepency between dismax and edismax in how they deal with the mm param (on trunk and in 1.4)... MM is ignored... http://localhost:8983/solr/select?debugQuery=true&defType=edismax&qf=text&q=xxx+yyy+zzz+-1234&mm=2 MM is used... http://localhost:8983/solr/select?debugQuery=true&defType=dismax&qf=text&q=xxx+yyy+zzz+-1234&mm=2 ...the negative clause definitely seems to be what triggers it. I've added this to SOLR-1553 (edismax is still considered an open issue, it was only experimental in Solr 1.4) -Hoss