I'm having the same problem - the standard query returns all my documents, but the dismax one returns 0. Any ideas?
http://server:8983/solr/select?qt=standard&indent=on&q=* <response> − <lst name="responseHeader"> <int name="status">0</int> <int name="QTime">3592</int> − <lst name="params"> <str name="indent">on</str> <str name="qt">standard</str> <str name="q">*</str> </lst> </lst> − <result name="response" numFound="9108" start="0"> − <doc> [...] -------------------------------------------------------------------------------------------- http://server:8983/solr/select?qt=dismax&indent=on&q=* <response> − <lst name="responseHeader"> <int name="status">0</int> <int name="QTime">10</int> − <lst name="params"> <str name="indent">on</str> <str name="qt">dismax</str> <str name="q">*</str> </lst> </lst> <result name="response" numFound="0" start="0" maxScore="0.0"/> </response> On Sep 29, 2010, at 2:31 PM, Chris Hostetter wrote: > : In Solrconfig.xml, default request handler is set to "standard". I am > : planning to change that to use dismax as the request handler but when I > : set "default=true" for dismax - Solr does not return any results - I get > : results only when I comment out "<str name="defType">dismax</str>". > > you need to elaborate on what you mean by "does not return any results" > ... doesn't return results for what exactly? what do your requests look > like? (ie full URLs with all params) what do you expect to get back? > > what URLs are you using when you don't use defType=dismax? what do you get > back then? > > not setting defType means you are getting the standard LuceneQParser > instead o the DismaxQParser which means the qf param is being ignored and > hte defaultSearchField is being used instead. are the terms you are > searching for in your default search field but not in your title or > pagedescription field? > > Please note these guidelines.... > http://wiki.apache.org/solr/UsingMailingLists#Information_useful_for_searching_problems > > > -Hoss > > -- > http://lucenerevolution.org/ ... October 7-8, Boston > http://bit.ly/stump-hoss ... Stump The Chump! >