Please submit an update to the wiki I believe you are correct! ☺ Also if you 
get a chance send
a PR to update the usage. Thanks Omkar!

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Principal Data Scientist, Engineering Administrative Office (3010)
Manager, NSF & Open Source Projects Formulation and Development Offices (8212)
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 180-503E, Mailstop: 180-503
Email: [email protected]
WWW:  http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Director, Information Retrieval and Data Science Group (IRDS)
Adjunct Associate Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
WWW: http://irds.usc.edu/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


From: Omkar Reddy <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Thursday, March 23, 2017 at 10:19 PM
To: "[email protected]" <[email protected]>
Subject: Ambiguity in the usage of bin/nutch webgraph.

Hi dev@,

I have been trying to create a webgraph from my crawl data using the 
documentation here [0]. The command format in the documentation is as follows :

>> bin/nutch webgraph (-segment <segment> | -segmentDir <segmentDir> | 
>> -webgraphdb <webgraphdb>) [-filter -normalize] | -help

Upon usage of a command in the above mentioned pattern(-webgraph arg being 
optional) I got the help message displayed in my shell.

I believe that the command should be of the format:

 >> bin/nutch webgraph (-segment <segment> | -segmentDir <segmentDir> ) 
 >> -webgraphdb <webgraphdb> [-filter -normalize] | -help


The above format worked for me.

In conclusion -webgraph arg should be mandatory instead of optional. Please 
feel free to correct me if I am wrong and missing something. Pardon me if I am 
missing anything silly. Suggestions welcome.

Thanks,
Omkar.

[0] https://wiki.apache.org/nutch/bin/nutch%20webgraph

Reply via email to