Return-Path: Delivered-To: apmail-lucene-nutch-dev-archive@www.apache.org Received: (qmail 19152 invoked from network); 3 Apr 2006 12:25:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Apr 2006 12:25:12 -0000 Received: (qmail 44441 invoked by uid 500); 3 Apr 2006 12:25:10 -0000 Delivered-To: apmail-lucene-nutch-dev-archive@lucene.apache.org Received: (qmail 44424 invoked by uid 500); 3 Apr 2006 12:25:10 -0000 Mailing-List: contact nutch-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: nutch-dev@lucene.apache.org Delivered-To: mailing list nutch-dev@lucene.apache.org Received: (qmail 44413 invoked by uid 500); 3 Apr 2006 12:25:10 -0000 Delivered-To: apmail-incubator-nutch-dev@incubator.apache.org Received: (qmail 44409 invoked by uid 99); 3 Apr 2006 12:25:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 05:25:10 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 05:25:10 -0700 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 2411A6ACB1 for ; Mon, 3 Apr 2006 13:24:49 +0100 (BST) Message-ID: <46399747.1144067089082.JavaMail.jira@ajax> Date: Mon, 3 Apr 2006 13:24:49 +0100 (BST) From: "Andrzej Bialecki (JIRA)" To: nutch-dev@incubator.apache.org Subject: [jira] Closed: (NUTCH-230) OPIC score for outlinks should be based on # of valid links, not total # of links. In-Reply-To: <825076237.1142312701927.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/NUTCH-230?page=all ] Andrzej Bialecki closed NUTCH-230: ----------------------------------- Resolution: Fixed Patch applied. > OPIC score for outlinks should be based on # of valid links, not total # of links. > ---------------------------------------------------------------------------------- > > Key: NUTCH-230 > URL: http://issues.apache.org/jira/browse/NUTCH-230 > Project: Nutch > Type: Improvement > Versions: 0.8-dev > Reporter: Ken Krugler > Priority: Minor > Attachments: patch.txt > > In ParseOutputFormat.java, the write() method currently divides the page score by the # of outlinks: > score /= links.length; > It then loops over the links, and any that pass the normalize/filter gauntlet get added to the crawl output. > But this means that any filtered links result in some amount of the page's OPIC score being "lost". > For Nutch 0.7, I built a list of valid (post-filter) links, and then used that to determine the per-link OPIC score, after which I iterated over the list, adding entries to the crawl output. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira