Differences between revisions 3 and 4
Revision 3 as of 2014-09-27 19:51:46
Size: 1190
Comment:
Revision 4 as of 2014-09-27 19:54:24
Size: 1211
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
nutchserver is an alias for org.apache.nutch..api.NutchServer nutchserver is an alias for org.apache.nutch.api.NutchServer
Line 21: Line 21:

CommandLineOptions

nutchserver is an alias for org.apache.nutch.api.NutchServer

Nutch 1.X

NutchServer is not urrently not available in Nutch 1.X. There is however a Jira ticket for backporting the REST API from Nutch 2.X to Nutch 1.X

Nutch 2.X

Invoking the call to nutchserver ensures that a Nutch Server runs locally on a user defined port... by default this is set to 8081 if none is specified. This is a fully REST API for configuring and administering your Nutch crawler.

usage: NutchServer [-help] [-log <loging level>] [-port] [-stop <force>]
 -help                 Show this help
 -log <loging level>   Select a logging level for the
                       NutchServer.ALL|CONFIG|FINER|FINEST|INFO|OFF|SEVERE
                       |WARNING
 -port                 Use port for restful API
 -stop <force>         Stop running nutch server. Force stops server
                       despite running jobs

You may also find the documentation on the Nutch 2.X RESTAPI useful as well as the NutchWepp documentation.

CommandLineOptions

bin/nutch nutchserver (last edited 2014-09-27 19:54:24 by LewisJohnMcgibbney)