Apache Nutch Explained

Apache Nutch
Screenshot Size:250px
Collapsible:yes
Author:Doug Cutting, Mike Cafarella
Developer:Apache Software Foundation
Programming Language:Java
Operating System:Cross-platform
Genre:Web crawler
License:Apache License 2.0

Apache Nutch is a highly extensible and scalable open source web crawler software project.

Features

Nutch is coded entirely in the Java programming language, but data is written in language-independent formats. It has a highly modular architecture, allowing developers to create plug-ins for media-type parsing, data retrieval, querying and clustering.

The fetcher ("robot" or "web crawler") has been written from scratch specifically for this project.

History

Nutch originated with Doug Cutting, creator of both Lucene and Hadoop, and Mike Cafarella.

In June, 2003, a successful 100-million-page demonstration system was developed. To meet the multi-machine processing needs of the crawl and index tasks, the Nutch project has also implemented a MapReduce facility and a distributed file system. The two facilities have been spun out into their own subproject, called Hadoop.

In January, 2005, Nutch joined the Apache Incubator, from which it graduated to become a subproject of Lucene in June of that same year. Since April, 2010, Nutch has been considered an independent, top level project of the Apache Software Foundation.[1]

In February 2014 the Common Crawl project adopted Nutch for its open, large-scale web crawl.[2]

While it was once a goal for the Nutch project to release a global large-scale web search engine, that is no longer the case.

Release history

1.xBranch2.xBranchRelease dateDescription
1.12010-06-06This release includes several major upgrades of existing libraries (Hadoop, Solr, Tika, etc.) on which Nutch depends. Various bug fixes, and speedups (e.g., to Fetcher2) have also been included.
1.22010-10-24This release includes several improvements (addition of parse-html as a selectable parser again, configurable per-field indexing), new features (including adding timing information to all Tool classes, and implementation of parser timeouts), and bug fixes (fixing an NPE in distributed search, fixing of XML formatting issues per Document fields).
1.32011-06-07This release includes several improvements (improved RSS parsing support, tighter integration with Apache Tika, external parsing support, improved language identification and an order of magnitude smaller source release tarball—only about 2 MB).
1.42011-11-26This release includes several improvements including allowing Parsers to declare support for multiple MIME types, configurable Fetcher Queue depth, Fetcher speed improvements, tighter Tika integration, and support for HTTP auth in Solr indexing.
1.52012-06-07This release includes several improvements including upgrades of several major components including Tika 1.1 and Hadoop 1.0.0, improvements to LinkRank and WebGraph elements as well as a number of new plugins covering blacklisting, filtering and parsing to name a few.
2.02012-07-07This release offers users an edition focused on large scale crawling which builds on storage abstraction (via Apache Gora) for big data stores such as Apache Accumulo, Apache Avro, Apache Cassandra, Apache HBase, HDFS, an in memory data store and various high-profile SQL stores.
1.5.12012-07-10This release is a maintenance release of the popular 1.5.X mainstream version of Nutch which has been widely adopted within the community.
2.12012-10-05This release continues to provide Nutch users with a simplified Nutch distribution building on the 2.x development drive which is growing in popularity amongst the community. As well as addressing ~20 bugs this release also offers improved properties for better Solr configuration, upgrades to various Gora dependencies and the introduction of the option to build indexes in elastic search.
1.62012-12-06This release includes over 20 bug fixes, the same in improvements, as well as new functionalities including a new HostNormalizer, the ability to dynamically set fetchInterval by MIME-type and functional enhancements to the Indexer API including the normalization of URLs and the deletion of robots noIndex documents. Other notable improvements include the upgrade of key dependencies to Tika 1.2 and Automaton 1.11-8.
2.22013-06-08This release includes over 30 bug fixes and over 25 improvements representing the third release of increasingly popular 2.x Nutch series. This release features inclusion of Crawler-Commons which Nutch now utilizes for improved robots.txt parsing, library upgrades to Apache Hadoop 1.1.1, Apache Gora 0.3, Apache Tika 1.2 and Automaton 1.11-8.
1.72013-06-24This release includes over 20 bug fixes, as many improvements; most noticeably featuring a new pluggable indexing architecture which currently supports Apache Solr and Elastic Search. Shadowing the recent Nutch 2.2 release, parsing of Robots.txt is now delegated to Crawler-Commons. Key library upgrades have been made to Apache Hadoop 1.2.0 and Apache Tika 1.3.
2.2.12013-07-02This release includes library upgrades to Apache Hadoop 1.2.0 and Apache Tika 1.3, it is predominantly a bug fix for NUTCH-1591 - Incorrect conversion of ByteBuffer to String.
1.82014-03-17Although this release includes library upgrades to Crawler Commons 0.3 and Apache Tika 1.5, it also provides over 30 bug fixes as well as 18 improvements.
2.32015-01-22Nutch 2.3 release now comes packaged with a self-contained Apache Wicket-based Web Application. The SQL backend for Gora has been deprecated.[3]
1.102015-05-06This release includes library upgrades to Tika 1.6, also provides over 46 bug fixes as well as 37 improvements and 12 new features.[4]
1.112015-12-07This release includes library upgrades to Hadoop 2.X, Tika 1.11, also provides over 32 bug fixes as well as 35 improvements and 14 new features.[5]
2.3.12016-01-21This bug fix release contains around 40 issues addressed.
1.122016-06-18
1.132017-04-02
1.142017-12-23
1.152018-08-09
1.162019-10-11
2.42019-10-11Expected to be the last release on the 2.X series, as "no committer is actively working on it".[6]
1.172020-07-02
1.182021-01-24

Scalability

IBM Research studied the performance[7] of Nutch/Lucene as part of its Commercial Scale Out (CSO) project.[8] Their findings were that a scale-out system, such as Nutch/Lucene, could achieve a performance level on a cluster of blades that was not achievable on any scale-up computer such as the POWER5.

The ClueWeb09 dataset (used in e.g. TREC) was gathered using Nutch, with an average speed of 755.31 documents per second.[9]

Related projects

Search engines built with Nutch

Bibliography

Notes and References

  1. Web site: Apache Nutch -. nutch.apache.org.
  2. Web site: Common Crawl's Move to Nutch – Common Crawl – Blog. blog.commoncrawl.org. 2015-10-14.
  3. Web site: Nutch 2.3 Release . The Apache Software Foundation . 22 January 2015 . Apache Nutch News . 18 January 2016.
  4. Web site: Nutch 1.10 Release Notes . The Apache Software Foundation . 6 May 2015 . ASF JIRA . 18 January 2016.
  5. Web site: Nutch 1.11 Release Notes . The Apache Software Foundation . 7 December 2015 . ASF JIRA . 18 January 2016.
  6. News: Nutch 2.4 Release . The Apache Software Foundation . 11 October 2019 . Apache Nutch News . 20 May 2022.
  7. Web site: Scalability of the Nutch search engine.
  8. Web site: Base Operating System Provisioning and Bringup for a Commercial Supercomputer. https://web.archive.org/web/20081203064621/http://weather.ou.edu/~apw/projects/cso/prov_paper.pdf. dead. December 3, 2008.
  9. http://boston.lti.cs.cmu.edu/crawler/crawlerstats.html The Sapphire Web Crawler - Crawl Statistics
  10. Web site: Our Updated Search. 2004-09-03. Creative Commons.
  11. Web site: Creative Commons Unique Search Tool Now Integrated into Firefox 1.0 . 2004-11-22 . Creative Commons . dead . https://web.archive.org/web/20100107065707/http://creativecommons.org/press-releases/entry/5064 . 2010-01-07 .
  12. Web site: New CC search UI. 2006-08-02. Creative Commons.
  13. Web site: Where can I get the source code for Wikia Search? . 2010-02-12 . https://web.archive.org/web/20111104010718/http://answers.wikia.com/wiki/Where_can_I_get_the_source_code_for_Wikia_Search . 2011-11-04 . dead .
  14. Web site: Update on Wikia – doing more of what's working Jimmy Wales. 31 March 2009 .