My guess would be to modify the scoring-opic plugin behavior.
The easiest, and cleanest, way to do that is to create a new scoring
plugin based on the existing scoring-opic plugin. More info about
creating new plugins can be found on the wiki.
Your new plugin, lets call it scoring-opic-modified, will be exactly the
same as the scoring-opic plugin except for the
org.apache.nutch.scoring.opic.OPICScoringFilter.updateDbScore method.
Note: I am not certain of that, but it seems logical based on the code.
You will have to dig a little to define what exactly has to be done.
You will find the needed source code in your
${NUTCH_HOME}/src/plugins/scoring-opic folder.
Don't forget to modify your nutch-site.xml file to include your new
plugin.
David
-----Original Message-----
From: kranthi reddy [mailto:[EMAIL PROTECTED]
Sent: lundi, 9. juin 2008 16:59
To: [email protected]
Subject: Inversing the scoring filter
Hi,
I am new to nutch.Can any1 tell me how to inverse the score given
to a
html document.
The reason i want to do this is because i want the pages with less
number of inlinks to come first when a query is given.
Thanks in advance,
cheers