Just add scoring-opic to your plugin.includes in nutch-site.xml.

Rgrds, Thomas

On 9/1/06, Cam Bazz <[EMAIL PROTECTED]> wrote:
Hello,

I wanted to index my files so I followed the instructions at

http://www.folge2.de/tp/search/1/crawling-the-local-filesystem-with-nutch

I get : Exception in thread "main" java.io.IOException: Job failed!

and looking at the log file:

2006-09-01 01:49:43,166 WARN  mapred.LocalJobRunner - job_p2pnnk
java.lang.RuntimeException: No scoring plugins - at least one scoring
plugin is required!
        at
org.apache.nutch.scoring.ScoringFilters.<init>(ScoringFilters.java:84)
        at
org.apache.nutch.crawl.Injector$InjectMapper.configure(Injector.java:57)
        at org.apache.hadoop.mapred.JobConf.newInstance(JobConf.java:443)
        at org.apache.hadoop.mapred.MapRunner.configure(MapRunner.java:33)
        at org.apache.hadoop.mapred.JobConf.newInstance(JobConf.java:443)
        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:125)
        at
org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:90)


my plugin.includes is like:

<property>
  <name>plugin.includes</name>

<value>protocol-file|protocol-http|urlfilter-regex|parse-(xml|text|html|js|pdf)|index-basic|query-(basic|site|url)</value>
</property>

how can I add a scoring plugin. by default, we dont have to add a
scoring plugin, so I dont know where to go.

Any ideas appreciated,

Best Regards,
-C.B.




Reply via email to