Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      Nutch would benefit from having a host normalizer. A host normalizer maps a given host to the desired host. A basic example is to map www.apache.org to apache.org. The Apache website is one of many on the internet that has a duplicate website on the same domain just because it allows both www and non-www to return HTTP 200 and proper content.

      It is also able to handle wildcards such as *.example.org to example.org if there are multiple sub domains that actually point to the same website.

      Large internet crawls tend to get polluted very quickly due to these problems. It also leads to skewed scores in the webgraph as different websites link to different versions of the same duplicate website.

        Issue Links

          Activity

          Hide
          Markus Jelsma added a comment -

          Patch for 1.5.

          Show
          Markus Jelsma added a comment - Patch for 1.5.
          Hide
          Markus Jelsma added a comment -

          Objections? I'd like to resolve this issue.

          Show
          Markus Jelsma added a comment - Objections? I'd like to resolve this issue.
          Hide
          Markus Jelsma added a comment -

          20120304-push-1.6

          Show
          Markus Jelsma added a comment - 20120304-push-1.6
          Hide
          Markus Jelsma added a comment -

          Committed for 1.6 in rev. 1349236.

          Show
          Markus Jelsma added a comment - Committed for 1.6 in rev. 1349236.
          Hide
          Hudson added a comment -

          Integrated in nutch-trunk-maven #310 (See https://builds.apache.org/job/nutch-trunk-maven/310/)
          NUTCH-1319 HostNormalizer plugin (Revision 1349236)

          Result = SUCCESS
          markus :
          Files :

          • /nutch/trunk/CHANGES.txt
          • /nutch/trunk/conf/host-urlnormalizer.txt
          • /nutch/trunk/src/plugin/urlnormalizer-host
          • /nutch/trunk/src/plugin/urlnormalizer-host/build.xml
          • /nutch/trunk/src/plugin/urlnormalizer-host/data
          • /nutch/trunk/src/plugin/urlnormalizer-host/data/hosts.txt
          • /nutch/trunk/src/plugin/urlnormalizer-host/ivy.xml
          • /nutch/trunk/src/plugin/urlnormalizer-host/plugin.xml
          • /nutch/trunk/src/plugin/urlnormalizer-host/src
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/java
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache/nutch
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache/nutch/net
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache/nutch/net/urlnormalizer
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache/nutch/net/urlnormalizer/host
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache/nutch/net/urlnormalizer/host/HostURLNormalizer.java
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/test
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache/nutch
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache/nutch/net
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache/nutch/net/urlnormalizer
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache/nutch/net/urlnormalizer/host
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache/nutch/net/urlnormalizer/host/TestHostURLNormalizer.java
          Show
          Hudson added a comment - Integrated in nutch-trunk-maven #310 (See https://builds.apache.org/job/nutch-trunk-maven/310/ ) NUTCH-1319 HostNormalizer plugin (Revision 1349236) Result = SUCCESS markus : Files : /nutch/trunk/CHANGES.txt /nutch/trunk/conf/host-urlnormalizer.txt /nutch/trunk/src/plugin/urlnormalizer-host /nutch/trunk/src/plugin/urlnormalizer-host/build.xml /nutch/trunk/src/plugin/urlnormalizer-host/data /nutch/trunk/src/plugin/urlnormalizer-host/data/hosts.txt /nutch/trunk/src/plugin/urlnormalizer-host/ivy.xml /nutch/trunk/src/plugin/urlnormalizer-host/plugin.xml /nutch/trunk/src/plugin/urlnormalizer-host/src /nutch/trunk/src/plugin/urlnormalizer-host/src/java /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache/nutch /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache/nutch/net /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache/nutch/net/urlnormalizer /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache/nutch/net/urlnormalizer/host /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache/nutch/net/urlnormalizer/host/HostURLNormalizer.java /nutch/trunk/src/plugin/urlnormalizer-host/src/test /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache/nutch /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache/nutch/net /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache/nutch/net/urlnormalizer /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache/nutch/net/urlnormalizer/host /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache/nutch/net/urlnormalizer/host/TestHostURLNormalizer.java
          Hide
          Hudson added a comment -

          Integrated in Nutch-trunk #1869 (See https://builds.apache.org/job/Nutch-trunk/1869/)
          NUTCH-1319 HostNormalizer plugin (Revision 1349236)

          Result = SUCCESS
          markus : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1349236
          Files :

          • /nutch/trunk/CHANGES.txt
          • /nutch/trunk/conf/host-urlnormalizer.txt
          • /nutch/trunk/src/plugin/urlnormalizer-host
          • /nutch/trunk/src/plugin/urlnormalizer-host/build.xml
          • /nutch/trunk/src/plugin/urlnormalizer-host/data
          • /nutch/trunk/src/plugin/urlnormalizer-host/data/hosts.txt
          • /nutch/trunk/src/plugin/urlnormalizer-host/ivy.xml
          • /nutch/trunk/src/plugin/urlnormalizer-host/plugin.xml
          • /nutch/trunk/src/plugin/urlnormalizer-host/src
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/java
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache/nutch
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache/nutch/net
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache/nutch/net/urlnormalizer
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache/nutch/net/urlnormalizer/host
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache/nutch/net/urlnormalizer/host/HostURLNormalizer.java
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/test
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache/nutch
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache/nutch/net
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache/nutch/net/urlnormalizer
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache/nutch/net/urlnormalizer/host
          • /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache/nutch/net/urlnormalizer/host/TestHostURLNormalizer.java
          Show
          Hudson added a comment - Integrated in Nutch-trunk #1869 (See https://builds.apache.org/job/Nutch-trunk/1869/ ) NUTCH-1319 HostNormalizer plugin (Revision 1349236) Result = SUCCESS markus : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1349236 Files : /nutch/trunk/CHANGES.txt /nutch/trunk/conf/host-urlnormalizer.txt /nutch/trunk/src/plugin/urlnormalizer-host /nutch/trunk/src/plugin/urlnormalizer-host/build.xml /nutch/trunk/src/plugin/urlnormalizer-host/data /nutch/trunk/src/plugin/urlnormalizer-host/data/hosts.txt /nutch/trunk/src/plugin/urlnormalizer-host/ivy.xml /nutch/trunk/src/plugin/urlnormalizer-host/plugin.xml /nutch/trunk/src/plugin/urlnormalizer-host/src /nutch/trunk/src/plugin/urlnormalizer-host/src/java /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache/nutch /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache/nutch/net /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache/nutch/net/urlnormalizer /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache/nutch/net/urlnormalizer/host /nutch/trunk/src/plugin/urlnormalizer-host/src/java/org/apache/nutch/net/urlnormalizer/host/HostURLNormalizer.java /nutch/trunk/src/plugin/urlnormalizer-host/src/test /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache/nutch /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache/nutch/net /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache/nutch/net/urlnormalizer /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache/nutch/net/urlnormalizer/host /nutch/trunk/src/plugin/urlnormalizer-host/src/test/org/apache/nutch/net/urlnormalizer/host/TestHostURLNormalizer.java
          Hide
          Hudson added a comment -

          Integrated in nutch-trunk-maven #331 (See https://builds.apache.org/job/nutch-trunk-maven/331/)
          NUTCH-1319 adding test to accomodate HostURLNormalizer (Revision 1353884)

          Result = SUCCESS
          markus :
          Files :

          • /nutch/trunk/src/test/org/apache/nutch/net/TestURLNormalizers.java
          Show
          Hudson added a comment - Integrated in nutch-trunk-maven #331 (See https://builds.apache.org/job/nutch-trunk-maven/331/ ) NUTCH-1319 adding test to accomodate HostURLNormalizer (Revision 1353884) Result = SUCCESS markus : Files : /nutch/trunk/src/test/org/apache/nutch/net/TestURLNormalizers.java

            People

            • Assignee:
              Markus Jelsma
              Reporter:
              Markus Jelsma
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development