Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

commit to resolve and close NUTCH-1019, this commit does not affect any functionality but instead adds further minor comments to the code for the crawl class.

Lewis John McGibbneye25742de0454
diff --git a/src/java/org/apache/nutch/crawl/Crawl.java b/src/java/org/apache/nutch/crawl/Crawl.java
index ce7073408..13e9424b7 100644
--- a/src/java/org/apache/nutch/crawl/Crawl.java
+++ b/src/java/org/apache/nutch/crawl/Crawl.java
@@ -48,7 +48,8 @@ public class Crawl extends Configured implements Tool {
}
- /* Perform complete crawling and indexing given a set of root urls. */
+ /* Perform complete crawling and indexing (to Solr) given a set of root urls and the -solr
+ parameter respectively. More information and Usage parameters can be found below. */
public static void main(String args[]) throws Exception {
Configuration conf = NutchConfiguration.create();
int res = ToolRunner.run(conf, new Crawl(), args);
diff --git a/src/java/org/apache/nutch/crawl/NUTCH-1019-crawl-comment.patch b/src/java/org/apache/nutch/crawl/NUTCH-1019-crawl-comment.patch
new file mode 100644
index 000000000..12f981074
--- /dev/null
+++ b/src/java/org/apache/nutch/crawl/NUTCH-1019-crawl-comment.patch
@@ -0,0 +1,14 @@
+Index: Crawl.java
+===================================================================
+--- Crawl.java (revision 1147708)
++++ Crawl.java (working copy)
+@@ -48,7 +48,8 @@
+ }
+
+
+- /* Perform complete crawling and indexing given a set of root urls. */
++ /* Perform complete crawling and indexing (to Solr) given a set of root urls and the -solr
++ parameter respectively. More information and Usage parameters can be found below. */
+ public static void main(String args[]) throws Exception {
+ Configuration conf = NutchConfiguration.create();
+ int res = ToolRunner.run(conf, new Crawl(), args);