: Is there any way to get empty result set if empty query is passed to solr. : Am using solr 1.2 and dismax request handler.
if an empty query is sent to dismax, it uses the q.alt param ... so you should just be able to set q.alt to something that won't match any docs (pick a field:value where the field doesn't even exist in your index) -Hoss