[
https://issues.apache.org/jira/browse/NUTCH-2099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14876337#comment-14876337
]
ASF GitHub Bot commented on NUTCH-2099:
---------------------------------------
Github user sujen1412 commented on a diff in the pull request:
https://github.com/apache/nutch/pull/59#discussion_r39897798
--- Diff: src/java/org/apache/nutch/metadata/Nutch.java ---
@@ -80,4 +80,11 @@
public static final String STAT_PROGRESS = "progress";
/**Used by Nutch REST service */
public static final String CRAWL_ID_KEY = "storage.crawl.id";
+
+ public static final String ARG_SEEDDIR = "url_dir";
+ public static final String ARG_CRAWLDB = "crawldb";
--- End diff --
Hi @lewismc I have added some documentation to the new introduced metadata.
Please let me know if its proper. Thanks :)
> Refactoring the REST endpoints for integration with webui
> ---------------------------------------------------------
>
> Key: NUTCH-2099
> URL: https://issues.apache.org/jira/browse/NUTCH-2099
> Project: Nutch
> Issue Type: Sub-task
> Components: REST_api, web gui
> Reporter: Sujen Shah
> Labels: memex
> Fix For: 1.11
>
>
> This PR changes the structure of the arguments in the REST endpoints. Earlier
> the args were accepted in a Map<String, String> form and now it is
> Map<String, Object>. This is to allow Wicket to create the proper requests
> objects and send it to NutchServer.
> With the above, I have also added the metadata required for these services in
> Nutch metadata.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)