While in 1.x all commands show a help when called as bin/nutch command this is not always the case for 2.x - a known inconsistency (NUTCH-1393). Unfortunately, until this issue is solved I see no other possibility than having a look at the sources to get a definitive list of command options and arguments. Most parameters are the same as in 1.x.
Sebastian On 01/06/2013 09:27 PM, Tejas Patil wrote: > I think that the basic commands and what they do is same for nutch 1.x and > 2.x. > > Thanks, > Tejas Patil > > > On Sun, Jan 6, 2013 at 7:16 AM, jc <[email protected]> wrote: > >> Hi all, >> >> There is a wiki page for nutch 1.x command line options >> (http://wiki.apache.org/nutch/CommandLineOptions), I haven't found 2.x >> command line options info, When I enter command "bin/nutch" it shows the >> legend below, but if I want help details about some specific command, I >> cannot always get it, like command "generate" for instance. >> >> Usage: nutch COMMAND >> where COMMAND is one of: >> inject inject new urls into the database >> hostinject creates or updates an existing host table from a text file >> generate generate new segments to fetch from crawl db >> fetch fetch URLs marked during generate >> parse parse URLs marked during fetch >> updatedb update web table after parsing >> updatehostdb update host table after parsing >> readdb read/dump records from page database >> readhostdb display entries from the hostDB >> elasticindex run the elasticsearch indexer >> solrindex run the solr indexer on parsed segments and linkdb >> solrdedup remove duplicates from solr >> parsechecker check the parser for a given url >> plugin load a plugin and run one of its classes main() >> nutchserver run a (local) Nutch server on a user defined port >> junit runs the given JUnit test >> or >> CLASSNAME run the class named CLASSNAME >> Most commands print help when invoked w/o parameters. >> >> >> Regards, >> JC >> >> >> >> >> -- >> View this message in context: >> http://lucene.472066.n3.nabble.com/nutch-2-1-command-line-options-tp4031100.html >> Sent from the Nutch - User mailing list archive at Nabble.com. >> >

