Then I suspect your solrconfig is different or you're using a *slightly* different URL. When you specify defType=dismax, you're NOT going to the "dismax" requestHandler. You're specifying a "dismax" style parser, and Solr expects that you're going to provide all the parameters on the URL. To whit: qf. If you add "&qf=field1 field2 field3..." you'll see output.
I found this extremely confusing when I started using Solr. If you use &qt=dismax, _then_ you're specifying that you should use the requestHandler defined in your solrconfig.xml _named_ "dismax". And this kind of thing was changed because it was so confusing, but I suspect your 3.5 installation is not quite the same URL. I think 3.5 was changed to use the default field in this case. BTW, 3.6 has just been released, if you're upgrading anyway you might want to jump to 3.6 Best Erick On Thu, Apr 12, 2012 at 6:08 AM, mechravi25 <mechrav...@yahoo.co.in> wrote: > Hi, > > We are currently using solr (version 1.4.0.2010.01.13.08.09.44). we have a > strange situation in dismax request handler. when we search for a keyword > and append qt=dismax, we are not getting the any results. The solr request > is as follows: > http://local:8983/solr/core2/select/?q=Bank&version=2.2&start=0&rows=10&indent=on&defType=dismax&debugQuery=on > > The Response is as follows : > > <result name="response" numFound="0" start="0" /> > - <lst name="debug"> > <str name="rawquerystring">Bank</str> > <str name="querystring">Bank</str> > <str name="parsedquery">+() ()</str> > <str name="parsedquery_toString">+() ()</str> > <lst name="explain" /> > <str name="QParser">DisMaxQParser</str> > <null name="altquerystring" /> > <null name="boostfuncs" /> > - <lst name="timing"> > <double name="time">0.0</double> > - <lst name="prepare"> > <double name="time">0.0</double> > - <lst name="org.apache.solr.handler.component.QueryComponent"> > <double name="time">0.0</double> > </lst> > - <lst name="org.apache.solr.handler.component.FacetComponent"> > <double name="time">0.0</double> > </lst> > - <lst name="org.apache.solr.handler.component.MoreLikeThisComponent"> > <double name="time">0.0</double> > </lst> > - <lst name="org.apache.solr.handler.component.HighlightComponent"> > <double name="time">0.0</double> > </lst> > - <lst name="org.apache.solr.handler.component.StatsComponent"> > <double name="time">0.0</double> > </lst> > - <lst name="org.apache.solr.handler.component.DebugComponent"> > <double name="time">0.0</double> > </lst> > </lst> > - <lst name="process"> > <double name="time">0.0</double> > - <lst name="org.apache.solr.handler.component.QueryComponent"> > <double name="time">0.0</double> > </lst> > - <lst name="org.apache.solr.handler.component.FacetComponent"> > <double name="time">0.0</double> > </lst> > - <lst name="org.apache.solr.handler.component.MoreLikeThisComponent"> > <double name="time">0.0</double> > </lst> > - <lst name="org.apache.solr.handler.component.HighlightComponent"> > <double name="time">0.0</double> > </lst> > - <lst name="org.apache.solr.handler.component.StatsComponent"> > <double name="time">0.0</double> > </lst> > - <lst name="org.apache.solr.handler.component.DebugComponent"> > <double name="time">0.0</double> > </lst> > </lst> > </lst> > </lst> > </response> > > > We are currently testing the Solr Version 3.5, But the same is working fine > in that version. > > Also the Query alternative params are not working properly in SOlr 1.5 when > compared with version 3.5. The request seems to be the same, but dono where > its making the issue. Please help me out. Thanks i advance. > > Regards, > Sivaganesh > <siva_srm...@yahoo.co.in> > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Dismax-request-handler-differences-Between-Solr-Version-3-5-and-1-4-tp3905192p3905192.html > Sent from the Solr - User mailing list archive at Nabble.com.