Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.12
-
None
-
None
Description
INJECT REST uses the old method invocation which sets overwrite and update to false, which is wrong.
https://github.com/apache/nutch/blob/master/src/java/org/apache/nutch/crawl/Injector.java#L514
There should be an option to set the overwrite and update in the REST request.
eg:
POST /job/create { "type":"INJECT", "confId":"default", "crawlId":"TestCrawl", "args": { "url_dir":"c:\\cygwin64\\tmp\\1475752235404-0", "overwrite":"true", "update":"true" } }