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 LucasBoullosa:
http://wiki.apache.org/nutch/WritingPluginExample

------------------------------------------------------------------------------
      String recommendation = parse.getData().get("Recommended");
  
        if (recommendation != null) {
-                       Field recommendedField = Field.Text("recommended", 
recommendation);
+                       Field recommendedField = 
+                          new Field("recommended", recommendation, 
Field.Store.YES, Field.Index.UN_TOKENIZED);
                        recommendedField.setBoost(5.0f);
                doc.add(recommendedField);
                        LOG.info("Added " + recommendation + " to the 
recommended Field");

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nutch-cvs mailing list
Nutch-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nutch-cvs

Reply via email to