Hello! I'd implemented this REST API, and I can surely say, that it's
possible to do everything via REST.
There are some drawbacks though: you post remote command, and it is your
responsibility to poll the status of execution.
For example, if you post inject command, then you need to poll REST API
until this command will be finished, if your business logic requires
sequential command execution.
What about files, nutch server automatically creates them in temp directory.
If java code is not problem for you, you can explore webui.patch in this
issue https://issues.apache.org/jira/browse/NUTCH-841, otherwise I can
sniff http traffic between UI and nutch-server for you.
Fjodor

2014-09-17 1:02 GMT+03:00 Johannes Goslar <[email protected]>:

> Hi Lewis, yes it is helping a bit. But especially the pre seeding is
> confusing me a bit for the moment. Can/will the rest API create the needed
> directories?
> The code for the webapp would be interesting to look at, but I actually
> need to kind of use nutch in a middle step in another software, so I would
> not show some other app.
> Kind Regards
> Johannes

Reply via email to