Apache Nutch is an extensible and scalable web crawler
NUTCH-963 Add support for deleting Solr documents with STATUS_DB_GONE in CrawlDB (Claudio Martella, markus)
Markus Jelsmaeed2fc844c58
diff --git a/CHANGES.txt b/CHANGES.txtindex 2661649dc..b1341a770 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -2,6 +2,8 @@ Nutch Change LogRelease 1.3 - Current Development+* NUTCH-963 Add support for deleting Solr documents with STATUS_DB_GONE in CrawlDB (Claudio Martella, markus)+* NUTCH-825 Publish nutch artifacts to central maven repository (mattmann, jnioche)* NUTCH-962 max. redirects not handled correctly: fetcher stops at max-1 redirects (Sebastian Nagel via ab)diff --git a/conf/log4j.properties b/conf/log4j.propertiesindex 2aa8eab62..a0ee6e15a 100644--- a/conf/log4j.properties+++ b/conf/log4j.properties@@ -24,6 +24,7 @@ log4j.logger.org.apache.nutch.crawl.LinkDb=INFO,cmdstdoutlog4j.logger.org.apache.nutch.crawl.LinkDbMerger=INFO,cmdstdoutlog4j.logger.org.apache.nutch.indexer.solr.SolrIndexer=INFO,cmdstdoutlog4j.logger.org.apache.nutch.indexer.solr.SolrDeleteDuplicates=INFO,cmdstdout+log4j.logger.org.apache.nutch.indexer.solr.SolrClean=INFO,cmdstdoutlog4j.logger.org.apache.nutch=INFOlog4j.logger.org.apache.hadoop=WARNdiff --git a/src/bin/nutch b/src/bin/nutchindex f395d00e7..dd01ae2da 100755--- a/src/bin/nutch+++ b/src/bin/nutch@@ -49,6 +49,7 @@ if [ $# = 0 ]; thenecho " mergelinkdb merge linkdb-s, with optional filtering"echo " solrindex run the solr indexer on parsed segments and linkdb"echo " solrdedup remove duplicates from solr"+ echo " solrclean remove HTTP 301 and 404 documents from solr"echo " plugin load a plugin and run one of its classes main()"echo " or"echo " CLASSNAME run the class named CLASSNAME"@@ -210,6 +211,8 @@ elif [ "$COMMAND" = "solrindex" ] ; thenCLASS=org.apache.nutch.indexer.solr.SolrIndexerelif [ "$COMMAND" = "solrdedup" ] ; thenCLASS=org.apache.nutch.indexer.solr.SolrDeleteDuplicates+elif [ "$COMMAND" = "solrclean" ] ; then+ CLASS=org.apache.nutch.indexer.solr.SolrCleanelif [ "$COMMAND" = "plugin" ] ; thenCLASS=org.apache.nutch.plugin.PluginRepositoryelse