On Tue, Jul 19, 2011 at 1:25 PM, Naomi Dushay <ndus...@stanford.edu> wrote:
> Regardless, I thought that     defType=dismax&q=*:*   is supposed to be
> equivalent to  q={!defType=dismax}*:*  and also equivalent to q={!dismax}*:*

Not quite - there is a very subtle distinction.

{!dismax}  is short for {!type=dismax}, the type of the actual query,
and this may not be overridden.

The defType local param is only the default type for sub-queries (as
opposed to the current query).
It's useful in conjunction with the "query"  or nested query qparser:
http://lucene.apache.org/solr/api/org/apache/solr/search/NestedQParserPlugin.html

-Yonik
http://www.lucidimagination.com

Reply via email to