> Query 1: > http://localhost:8085/solr/select/?q=abc&version=2.2&start=0&rows=10&indent=on&defType=dismax > [defType with capital T -- does not fetch results] > > Query 2: > http://localhost:8085/solr/select/?q=abc&version=2.2&start=0&rows=10&indent=on&deftype=dismax > [defType with small T -- perfect, results returned] >
Your second query example uses lucene query parser (which is default). You can confirm this via adding &debugQuery=on. It searches on default search field (defined in schema.xml) &deftype=dismax does not change query parser at all. Your first query example uses dismax, searches on qf (query fields). Your search URL does not contain qf, so I assume it is defined in defaults section? Try adding field(s) that you want to search on. solr/select/?q=abc&start=0&rows=10defType=dismax&qf=myField