: If I switch back and forth between defType=dismax and defType=edismax, the : edismax doesn't seem to obey my pf parameter. I dug through the code a
I just tried a sample query using Solr 3.5 with the example configs+data. This is the query i tried... http://localhost:8983/solr/select/?debugQuery=true&defType=edismax&qf=name^5+features^3&pf=features^4&q=this+document echoParams shows... <lst name="params"> <str name="qf">name^5 features^3</str> <str name="pf">features^4</str> <str name="debugQuery">true</str> <str name="q">this document</str> <str name="defType">edismax</str> </lst> ...it matched the document i expected, and the debug info showed the query structure i expected... <str name="parsedquery"> +((DisjunctionMaxQuery((features:this^3.0 | name:this^5.0)) DisjunctionMaxQuery((features:document^3.0 | name:document^5.0)) )~2 ) DisjunctionMaxQuery((features:"this document"^4.0)) </str> : Is this a known bug or am I missing something in my configuration? My config : is very simple: : : <requestHandler class="solr.StandardRequestHandler" name="/search"> : <lst name="defaults"> : <str name="echoParams">explicit</str> : <str name="defType">edismax</str> : <str name="qf">name</str> : <str name="pf">name_exact^2</str> : <str name="fl">id,name,image_url,url</str> : <str name="q.alt">*:*</str> : </lst> : </requestHandler> what did your request look like with that config? what did the debugQuery output look like? -Hoss