You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nutch.apache.org by fe...@apache.org on 2012/08/01 16:35:34 UTC
svn commit: r1368024 - /nutch/branches/2.x/src/bin/nutch
Author: ferdy
Date: Wed Aug 1 14:35:33 2012
New Revision: 1368024
URL: http://svn.apache.org/viewvc?rev=1368024&view=rev
Log:
NUTCH-1445 Add ElasticIndexerJob that indexes to elasticsearch (addToNutchScript)
Modified:
nutch/branches/2.x/src/bin/nutch
Modified: nutch/branches/2.x/src/bin/nutch
URL: http://svn.apache.org/viewvc/nutch/branches/2.x/src/bin/nutch?rev=1368024&r1=1368023&r2=1368024&view=diff
==============================================================================
--- nutch/branches/2.x/src/bin/nutch (original)
+++ nutch/branches/2.x/src/bin/nutch Wed Aug 1 14:35:33 2012
@@ -57,6 +57,7 @@ if [ $# = 0 ]; then
echo " updatehostdb update host table after parsing"
echo " readdb read/dump records from page database"
echo " readhostdb display entries from the hostDB"
+ echo " elasticindex run the elasticsearch indexer"
echo " solrindex run the solr indexer on parsed segments and linkdb"
echo " solrdedup remove duplicates from solr"
echo " parsechecker check the parser for a given url"
@@ -201,6 +202,8 @@ elif [ "$COMMAND" = "readdb" ] ; then
CLASS=org.apache.nutch.crawl.WebTableReader
elif [ "$COMMAND" = "readhostdb" ] ; then
CLASS=org.apache.nutch.host.HostDbReader
+elif [ "$COMMAND" = "elasticindex" ] ; then
+CLASS=org.apache.nutch.indexer.elastic.ElasticIndexerJob
elif [ "$COMMAND" = "solrindex" ] ; then
CLASS=org.apache.nutch.indexer.solr.SolrIndexerJob
elif [ "$COMMAND" = "solrdedup" ] ; then