Hi Jc,
This is correct. The command line parameters differ in key tools, the
generator being one.
I think we would be best to document this on the wiki as well as attempting
to implement useful command line options to stdout for all tools in 2.x,
this would shadow the verbose and more helpful implementation currently
used in 1.x trunk.
I will sort the wiki out.
IIRC ticket(s) possibly exist for this task already, if you wish and are
able to tackle one then please feel free.
Lewis
On Jan 6, 2013 7:17 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.
>

Reply via email to