lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thumuluri, Sai" <Sai.Thumul...@VerizonWireless.com>
Subject RE: Dismax Request handler and Solrconfig.xml
Date Tue, 28 Sep 2010 17:27:18 GMT
I removed default=true from standard request handler

-----Original Message-----
From: Luke Crouch [mailto:lcrouch@geek.net] 
Sent: Tuesday, September 28, 2010 12:50 PM
To: solr-user@lucene.apache.org
Subject: Re: Dismax Request handler and Solrconfig.xml

Are you removing the standard default requestHandler when you do this?
Or
are you specifying two requestHandler's with default="true" ?

-L

On Tue, Sep 28, 2010 at 11:14 AM, Thumuluri, Sai <
Sai.Thumuluri@verizonwireless.com> wrote:

> 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>........................................
>
> Please let me know what I am doing wrong here.
>
> Sai Thumuluri
> Sr. Member - Application Staff
> IT Intranet & Knoweldge Mgmt. Systems
> 614 560-8041 (Desk)
> 614 327-7200 (Mobile)
>
>
>

Mime
View raw message