Hello,

thanks for your reply. Now I tried it and it is not working.

I just put the lines with + into the source code. The lines are as follows:

+    public static final boolean CRAWL_IGNORE_EXTERNAL_LINKS =
+        NutchConf.get().getBoolean("crawl.ignore.external.links", false);

and

+            if (!internal && CRAWL_IGNORE_EXTERNAL_LINKS) {
+    continue;  // External links are forbidden : skip it !
+   }

Of course they are on the right place in the script. But I don´t know what to do with this: @@ -198,6 +200,9 @@ .

Please help me
Kind regards
Ronny




----- Original Message ----- From: "Philippe EUGENE" <[EMAIL PROTECTED]>
To: <nutch-user@lucene.apache.org>
Sent: Monday, July 24, 2006 10:21 AM
Subject: Re: Please Help - Patch install


Ronny a écrit :
Hello List,

I have a patch for Nutch http://issues.apache.org/jira/browse/NUTCH-173 and I want to install it. But I don´t know how to do that. Which file I have to edit that I can install and run the patch. I am working currently with nutch 0.7.2

Thanks for your help.

Kind regards
Ronny

Hi,
You must use a tools like svn to apply this patch on your source code.
It seems working.
If you are not familar with this, you can edit manualy in your IDE
this file :
tools/UpdateDatabaseTool.java
The patch.txt file indicate  witch line you must edit or replace.
After, you must add this option crawl.ignore.external.links in your configuration file.
--
Philippr




Reply via email to