You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Danicela nutch <Da...@mail.com> on 2011/10/06 12:10:35 UTC

Re : Re: Giving priority to seeds

I don't understand how to use the Injector Class, is it a plugin ? How to use the attached files ?
----- Message d'origine -----
De : Julien Nioche
Envoyés : 06.10.11 09:55
À : user@nutch.apache.org
Objet : Re: Giving priority to seeds

 you can specify the score of a seed using the metadata while injecting with nutch.score=xxxx see https://issues.apache.org/jira/browse/NUTCH-655 Julien On 4 October 2011 11:03, Danicela nutch <Da...@mail.com> wrote: > Hi, > > I want to make a ScoringFilter plugin which will give priority to seeds > file. > > I mean, I have a crawdb and a seeds file with links, I set a topN=5 to > test, and I want that my seeds links are fetched first, before what I have > in the crawldb. > > For that, I tried to implement ScoringFilter methods, particularly > injectedScore(Text text, CrawlDatum cd), I made a 'cd.setScore(100f)'. The > score is correctly given but it's not used and in my 5 pages segment I don't > have these links. > > Maybe I made something wrong ? > > Thanks in advance. > -- * *Open Source Solutions for Text Engineering http://digitalpebble.blogspot.com/ http://www.digitalpebble.com