I notice we don't have the default=true, instead we manually specify
qt=dismax in our queries. HTH.

-L

On Tue, Sep 28, 2010 at 4:24 PM, Luke Crouch <lcro...@geek.net> wrote:

> What you have is exactly what I have on 1.4.0:
>
>
>   <requestHandler name="dismax" class="solr.SearchHandler" >
>     <lst name="defaults">
>      <str name="defType">dismax</str>
>
> And it has worked fine. We copied our solrconfig.xml from the examples and
> changed them for our purposes. You might compare your solrconfig.xml to some
> of the examples.
>
> -L
>
>
> On Tue, Sep 28, 2010 at 4:19 PM, Thumuluri, Sai <
> sai.thumul...@verizonwireless.com> wrote:
>
>> Can I please get some help here? I am in a tight timeline to get this
>> done - any ideas/suggestions would be greatly appreciated.
>>
>> -----Original Message-----
>> From: Thumuluri, Sai [mailto:sai.thumul...@verizonwireless.com]
>> Sent: Tuesday, September 28, 2010 12:15 PM
>> To: solr-user@lucene.apache.org
>> Subject: Dismax Request handler and Solrconfig.xml
>> Importance: High
>>
>> Hi,
>>
>> I am using Solr 1.4.1 with Nutch to index some of our intranet content.
>> 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>".
>>
>> This works
>>  <requestHandler name="standard" class="solr.SearchHandler"
>> default="true">
>>    <!-- default values for query parameters -->
>>     <lst name="defaults">
>>       <str name="echoParams">explicit</str>
>>       <int name="rows">10</int>
>>       <str name="fl">*</str>
>>       <str name="qf">title^20.0 pagedescription^15.0</str>
>>       <str name="version">2.1</str>
>>     </lst>
>>  </requestHandler>
>>
>> DOES NOT WORK
>>  <requestHandler name="dismax" class="solr.SearchHandler"
>> default="true">
>>    <lst name="defaults">
>>     <str name="defType">dismax</str>
>>     <str name="echoParams">explicit</str>............................
>>
>> THIS WORKS
>>  <requestHandler name="dismax" class="solr.SearchHandler"
>> default="true">
>>    <lst name="defaults">
>> <!--     <str name="defType">dismax</str> -->
>>     <str
>> name="echoParams">explicit</str>........................................
>>
>>
>>
>

Reply via email to