On Mon, Aug 24, 2009 at 10:43 PM, darniz <rnizamud...@edmunds.com> wrote:

>
> Hello
> i created a custom request handler and i want it to do a search on features
> and make field by default. i added the following decleration  in my
> solrconfig.xml file
> <requestHandler name="/def-features-make" class="solr.SearchHandler">
>    <!-- default values for query parameters -->
>     <lst name="defaults">
>       <int name="rows">12</int>
>       <str name="echoParams">explicit</str>
>       <str name="fl">*</str>
>       <str name="sort">model desc</str>
>       <str name="qf">features,make</str>
>     </lst>
>  </requestHandler>
> as you can see in the qf i defined features and make to be the default
> search fields,
>

The "qf" parameter is specific to dismax. Change the query type to dismax by
adding:

<str name="defType">dismax</str>

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to