Hi. I've got a strange result of a DisMax search function. I might have understood the functionallity wrong. But after I read the manual I understood it is used to do ranked results with simple search terms.
Solr Version 1.4.0 I've got the setup Schema fields ------------------------------------------------------ <field name="name" type="wc_text" indexed="true" stored="true" multiValued="false"/> <field name="shortDescription" type="wc_text" indexed="true" stored="true" multiValued="false"/> <field name="longDescription" type="wc_keywordTextLowerCase" indexed="true" stored="false" multiValued="false"/> <field name="prodShortDescription" type="wc_keywordTextLowerCase" indexed="true" stored="false" multiValued="false"/> <field name="prodLongDescription" type="wc_keywordTextLowerCase" indexed="true" stored="false" multiValued="false"/> <copyField source="name" dest="defaultSearch"/> <copyField source="shortDescription" dest="defaultSearch"/> <copyField source="longDescription" dest="defaultSearch"/> <copyField source="prodShortDescription" dest="defaultSearch"/> <copyField source="prodLongDescription" dest="defaultSearch"/> DisMax config ------------------------------------------------------ <requestHandler name="dismax" class="solr.DisMaxRequestHandler"> <lst name="defaults"> <str name="echoParams">explicit</str> <float name="tie">0.01</float> <str name="qf"> name^1.2 shortDescription^1.0 longDescription^1.0 prodShortDescription^0.5 prodLongDescription^0.5 </str> <str name="pf"> name^1.2 shortDescription^1.0 longDescription^1.0 prodShortDescription^0.5 prodLongDescription ^0.5 </str> <str name="q.alt">*:*</str> <int name="ps">100</int> </lst> <arr name="last-components"> <str>spellcheck</str> </arr> </requestHandler> Standard config --------------------------------------------------------- <requestHandler name="standard" class="solr.StandardRequestHandler" default="true"> <lst name="defaults"> <str name="echoParams">explicit</str> </lst> <arr name="last-components"> <str>spellcheck</str> </arr> </requestHandler> When I search for a term "q=term" I get 68 hits. But when I search for "q=term&qt=dismax" I get 0 hits. Of course I got more fields and search parameters. But the only difference I could see is that in one case I use dismax and the other I don't. What have I missed? Any suggestions? Best regards Daniel