Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Nutch Wiki" for change 
notification.

The "Nutch_1.X_RESTAPI" page has been changed by SujenShah:
https://wiki.apache.org/nutch/Nutch_1.X_RESTAPI?action=diff&rev1=8&rev2=9

     }
  }}}}
  
+ 
+ ==== Create configuration ====
+ Creates new nutch configuration with given parameters.
+ {{{{
+ POST /config/create
+ 
+ Examples:
+ POST /config/new-config
+    {
+       "configId":"new-config",
+       "params":{"anchorIndexingFilter.deduplicate":"false",... }
+    }
+ 
+ }}}}
+ 
+ __Response__ is created config's id.
+ {{{{
+     new-config
+ }}}}
+ 
  ==== Get property value ====
  {{{{
  GET /config/{configuration name}/{property}
@@ -98, +118 @@

      false
  }}}}
  
+ ==== Set property value ====
- ==== Create configuration ====
- Creates new nutch configuration with given parameters. It force field is 
true, then already existing configuration will be overridden, otherwise not.
  {{{{
- POST /config/{configuration name}
+ PUT /config/{configuration name}/{property}
  
  Examples:
+ PUT /config/default/http.agent.name
- POST /config/new-config
-    {
-       "configId":"new-config",
-       "force":"true",
-       "params":{"anchorIndexingFilter.deduplicate":"false",... }
-    }
- 
  }}}}
  
- __Response__ is created config's id.
+ __Response__ contains parameter's value as string
  {{{{
-     new-config
+     NUTCH_SOLR
  }}}}
  
  ==== Delete configuration ====

Reply via email to