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 21:19:32 GMT
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.Thumuluri@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>........................................



Mime
View raw message