nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Nutch Wiki] Update of "RunningNutchAndSolr" by amitkumar
Date Thu, 14 May 2009 17:22:12 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Nutch Wiki" for change notification.

The following page has been changed by amitkumar:
http://wiki.apache.org/nutch/RunningNutchAndSolr

------------------------------------------------------------------------------
  d. Open apache-solr-1.3.0/example/solr/conf/solrconfig.xml and paste following fragment
to it
  
  <requestHandler name="/nutch" class="solr.SearchHandler" >
+ 
  <lst name="defaults">
+ 
  <str name="defType">dismax</str>
+ 
  <str name="echoParams">explicit</str>
+ 
  <float name="tie">0.01</float>
+ 
  <str name="qf">
+ 
  content^0.5 anchor^1.0 title^1.2
  </str>
+ 
  <str name="pf">
  content^0.5 anchor^1.5 title^1.2 site^1.5
  </str>
+ 
  <str name="fl">
  url
  </str>
+ 
  <str name="mm">
  2&lt;-1 5&lt;-2 6&lt;90%
  </str>
+ 
  <int name="ps">100</int>
+ 
  <bool hl="true"/>
+ 
  <str name="q.alt">*:*</str>
+ 
  <str name="hl.fl">title url content</str>
+ 
  <str name="f.title.hl.fragsize">0</str>
+ 
  <str name="f.title.hl.alternateField">title</str>
+ 
  <str name="f.url.hl.fragsize">0</str>
+ 
  <str name="f.url.hl.alternateField">url</str>
+ 
  <str name="f.content.hl.fragmenter">regex</str>
+ 
  </lst>
+ 
  </requestHandler>
  
  6. Start Solr

Mime
View raw message