You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by ab...@apache.org on 2005/11/23 14:22:13 UTC
svn commit: r348432 - /lucene/nutch/branches/mapred/bin/nutch
Author: ab
Date: Wed Nov 23 05:22:05 2005
New Revision: 348432
URL: http://svn.apache.org/viewcvs?rev=348432&view=rev
Log:
Add "readdb" command - human interface to CrawlDbReader.
Modified:
lucene/nutch/branches/mapred/bin/nutch
Modified: lucene/nutch/branches/mapred/bin/nutch
URL: http://svn.apache.org/viewcvs/lucene/nutch/branches/mapred/bin/nutch?rev=348432&r1=348431&r2=348432&view=diff
==============================================================================
--- lucene/nutch/branches/mapred/bin/nutch (original)
+++ lucene/nutch/branches/mapred/bin/nutch Wed Nov 23 05:22:05 2005
@@ -29,6 +29,7 @@
echo "Usage: nutch COMMAND"
echo "where COMMAND is one of:"
echo " crawl one-step crawler for intranets"
+ echo " readdb read / dump crawl db"
echo " admin database administration, including creation"
echo " inject inject new urls into the database"
echo " generate generate new segments to fetch"
@@ -132,6 +133,8 @@
CLASS=org.apache.nutch.crawl.Fetcher
elif [ "$COMMAND" = "parse" ] ; then
CLASS=org.apache.nutch.crawl.ParseSegment
+elif [ "$COMMAND" = "readdb" ] ; then
+ CLASS=org.apache.nutch.crawl.CrawlDbReader
elif [ "$COMMAND" = "updatedb" ] ; then
CLASS=org.apache.nutch.crawl.CrawlDb
elif [ "$COMMAND" = "invertlinks" ] ; then