Apache Nutch is an extensible and scalable web crawler
NUTCH-1787 update and complete API doc overview page
Sebastian Nagel32be5a6c69b9
diff --git a/CHANGES.txt b/CHANGES.txtindex d546c5a7a..5c65265c6 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -2,6 +2,8 @@ Nutch Change LogNutch Current Development+* NUTCH-1787 update and complete API doc overview page (snagel)+* NUTCH-1767 remove special treatment of "params" in relative links (snagel)* NUTCH-1718 redefine http.robots.agent as "additional agent names" (snagel, Tejas Patil, Daniel Kugel)diff --git a/build.xml b/build.xmlindex e7ccbb865..722e67e00 100644--- a/build.xml+++ b/build.xml@@ -172,6 +172,8 @@<packageset dir="${plugins.dir}/index-metadata/src/java"/><packageset dir="${plugins.dir}/index-more/src/java"/><packageset dir="${plugins.dir}/index-static/src/java"/>+ <packageset dir="${plugins.dir}/indexer-dummy/src/java"/>+ <packageset dir="${plugins.dir}/indexer-elastic/src/java/" /><packageset dir="${plugins.dir}/indexer-solr/src/java"/><packageset dir="${plugins.dir}/language-identifier/src/java"/><packageset dir="${plugins.dir}/lib-http/src/java"/>@@ -184,11 +186,11 @@<packageset dir="${plugins.dir}/parse-swf/src/java"/><packageset dir="${plugins.dir}/parse-tika/src/java"/><packageset dir="${plugins.dir}/parse-zip/src/java"/>- <packageset dir="${plugins.dir}/lib-http/src/java"/><packageset dir="${plugins.dir}/protocol-file/src/java"/><packageset dir="${plugins.dir}/protocol-ftp/src/java"/><packageset dir="${plugins.dir}/protocol-http/src/java"/><packageset dir="${plugins.dir}/protocol-httpclient/src/java"/>+ <packageset dir="${plugins.dir}/scoring-depth/src/java"/><packageset dir="${plugins.dir}/scoring-link/src/java"/><packageset dir="${plugins.dir}/scoring-opic/src/java"/><packageset dir="${plugins.dir}/subcollection/src/java"/>@@ -198,12 +200,13 @@<packageset dir="${plugins.dir}/urlfilter-domainblacklist/src/java"/><packageset dir="${plugins.dir}/urlfilter-prefix/src/java"/><packageset dir="${plugins.dir}/urlfilter-regex/src/java"/>- <packageset dir="${plugins.dir}/urlfilter-prefix/src/java"/><packageset dir="${plugins.dir}/urlfilter-suffix/src/java"/><packageset dir="${plugins.dir}/urlfilter-validator/src/java"/><packageset dir="${plugins.dir}/urlmeta/src/java"/><packageset dir="${plugins.dir}/urlnormalizer-basic/src/java"/>+ <packageset dir="${plugins.dir}/urlnormalizer-host/src/java"/><packageset dir="${plugins.dir}/urlnormalizer-pass/src/java"/>+ <packageset dir="${plugins.dir}/urlnormalizer-querystring/src/java"/><packageset dir="${plugins.dir}/urlnormalizer-regex/src/java"/><link href="${javadoc.link.java}"/>@@ -221,8 +224,10 @@<group title="Plugins API" packages="${plugins.api}"/><group title="Protocol Plugins" packages="${plugins.protocol}"/><group title="URL Filter Plugins" packages="${plugins.urlfilter}"/>+ <group title="URL Normalizer Plugins" packages="${plugins.urlnormalizer}"/><group title="Scoring Plugins" packages="${plugins.scoring}"/><group title="Parse Plugins" packages="${plugins.parse}"/>+ <group title="Parse Filter Plugins" packages="${plugins.parsefilter}"/><group title="Indexing Filter Plugins" packages="${plugins.index}"/><group title="Indexer Plugins" packages="${plugins.indexer}"/><group title="Misc. Plugins" packages="${plugins.misc}"/>@@ -572,6 +577,8 @@<packageset dir="${plugins.dir}/index-metadata/src/java"/><packageset dir="${plugins.dir}/index-more/src/java"/><packageset dir="${plugins.dir}/index-static/src/java"/>+ <packageset dir="${plugins.dir}/indexer-dummy/src/java"/>+ <packageset dir="${plugins.dir}/indexer-elastic/src/java/" /><packageset dir="${plugins.dir}/indexer-solr/src/java"/><packageset dir="${plugins.dir}/language-identifier/src/java"/><packageset dir="${plugins.dir}/lib-http/src/java"/>@@ -588,6 +595,7 @@<packageset dir="${plugins.dir}/protocol-ftp/src/java"/><packageset dir="${plugins.dir}/protocol-http/src/java"/><packageset dir="${plugins.dir}/protocol-httpclient/src/java"/>+ <packageset dir="${plugins.dir}/scoring-depth/src/java"/><packageset dir="${plugins.dir}/scoring-link/src/java"/><packageset dir="${plugins.dir}/scoring-opic/src/java"/><packageset dir="${plugins.dir}/subcollection/src/java"/>@@ -601,7 +609,9 @@<packageset dir="${plugins.dir}/urlfilter-validator/src/java"/><packageset dir="${plugins.dir}/urlmeta/src/java"/><packageset dir="${plugins.dir}/urlnormalizer-basic/src/java"/>+ <packageset dir="${plugins.dir}/urlnormalizer-host/src/java"/><packageset dir="${plugins.dir}/urlnormalizer-pass/src/java"/>+ <packageset dir="${plugins.dir}/urlnormalizer-querystring/src/java"/><packageset dir="${plugins.dir}/urlnormalizer-regex/src/java"/><link href="${javadoc.link.java}"/>@@ -619,8 +629,10 @@<group title="Plugins API" packages="${plugins.api}"/><group title="Protocol Plugins" packages="${plugins.protocol}"/><group title="URL Filter Plugins" packages="${plugins.urlfilter}"/>+ <group title="URL Normalizer Plugins" packages="${plugins.urlnormalizer}"/><group title="Scoring Plugins" packages="${plugins.scoring}"/><group title="Parse Plugins" packages="${plugins.parse}"/>+ <group title="Parse Filter Plugins" packages="${plugins.parsefilter}"/><group title="Indexing Filter Plugins" packages="${plugins.index}"/><group title="Indexer Plugins" packages="${plugins.indexer}"/><group title="Misc. Plugins" packages="${plugins.misc}"/>@@ -944,9 +956,9 @@<source path="${basedir}/src/plugin/index-anchor/src/test/" /><source path="${basedir}/src/plugin/index-basic/src/java/" /><source path="${basedir}/src/plugin/index-basic/src/test/" />+ <source path="${basedir}/src/plugin/indexer-dummy/src/java/" /><source path="${basedir}/src/plugin/indexer-solr/src/java/" /><source path="${basedir}/src/plugin/indexer-elastic/src/java/" />- <source path="${basedir}/src/plugin/indexer-dummy/src/java/" /><source path="${basedir}/src/plugin/index-metadata/src/java/" /><source path="${basedir}/src/plugin/index-more/src/java/" /><source path="${basedir}/src/plugin/index-more/src/test/" />diff --git a/default.properties b/default.propertiesindex da69b780c..0cfce315a 100644--- a/default.properties+++ b/default.properties@@ -97,22 +97,25 @@ plugins.urlfilter=\org.apache.nutch.urlfilter.domain*:\org.apache.nutch.urlfilter.domainblacklist*:\org.apache.nutch.urlfilter.prefix*:\- org.apache.nutch.urlfilter.regex*\+ org.apache.nutch.urlfilter.regex*:\org.apache.nutch.urlfilter.suffix*:\org.apache.nutch.urlfilter.validator*## URL Normalizer Plugins#-plugins.urlfilter=\+plugins.urlnormalizer=\org.apache.nutch.net.urlnormalizer.basic*:\+ org.apache.nutch.net.urlnormalizer.host*:\org.apache.nutch.net.urlnormalizer.pass*:\+ org.apache.nutch.net.urlnormalizer.querystring*:\org.apache.nutch.net.urlnormalizer.regex*## Scoring Plugins#plugins.scoring=\+ org.apache.nutch.scoring.depth*:\org.apache.nutch.scoring.link*:\org.apache.nutch.scoring.opic*:\org.apache.nutch.scoring.tld*:\@@ -133,8 +136,9 @@ plugins.parse=\## Parse Filter Plugins#-plugins.parse=\- org.apache.nutch.parse.headings*+plugins.parsefilter=\+ org.apache.nutch.parse.headings*:\+ org.apache.nutch.parse.metatags*## Indexing Filter Plugins@@ -144,6 +148,7 @@ plugins.index=\org.apache.nutch.indexer.basic*:\org.apache.nutch.indexer.feed*:\org.apache.nutch.indexer.metadata*:\+ org.apache.nutch.indexer.more*:\org.apache.nutch.indexer.static*:\org.apache.nutch.indexer.subcollection*:\org.apache.nutch.indexer.tld*:\@@ -153,18 +158,20 @@ plugins.index=\# Indexing Backend Plugins#plugins.indexer=\+ org.apache.nutch.indexwriter.dummy*:\+ org.apache.nutch.indexwriter.elastic*:\org.apache.nutch.indexwriter.solr*## Misc. Plugins## (gathers plugins that cannot be dispatched-# in any category, mainly because they contains+# in any category, mainly because they contain# many extension points)#plugins.misc=\org.apache.nutch.collection*:\org.apache.nutch.analysis.lang*:\- org.creativecommons.nutch*- org.apache.nutch.microformats.reltag*:\+ org.creativecommons.nutch*:\+ org.apache.nutch.microformats.reltag*diff --git a/src/java/org/apache/nutch/crawl/package.html b/src/java/org/apache/nutch/crawl/package.htmlindex a5e0a581d..05eeb502d 100644--- a/src/java/org/apache/nutch/crawl/package.html+++ b/src/java/org/apache/nutch/crawl/package.html@@ -1,5 +1,5 @@<html><body>-Crawl control code.+Crawl control code and tools to run the crawler.</body></html>diff --git a/src/java/org/apache/nutch/indexer/package.html b/src/java/org/apache/nutch/indexer/package.htmlindex e4cdd01ea..825eaae50 100644--- a/src/java/org/apache/nutch/indexer/package.html+++ b/src/java/org/apache/nutch/indexer/package.html@@ -1,5 +1,10 @@<html><body>-Maintain Lucene full-text indexes.+Index content, configure and run indexing and cleaning jobs to+add, update, and delete documents from an index. Two tasks are+delegated to plugins:+<ul>+<li>indexing filters fill index fields of each documents</li>+<li>index writer plugins send documents to index back-ends (Solr, etc.).</body></html>diff --git a/src/java/org/apache/nutch/net/package-info.java b/src/java/org/apache/nutch/net/package-info.javanew file mode 100644index 000000000..4a2b35375--- /dev/null+++ b/src/java/org/apache/nutch/net/package-info.java@@ -0,0 +1,22 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Web-related interfaces: URL {@link org.apache.nutch.net.URLFilter filters}+ * and {@link org.apache.nutch.net.URLNormalizer normalizers}.+ */+package org.apache.nutch.net;diff --git a/src/java/org/apache/nutch/net/protocols/Response.java b/src/java/org/apache/nutch/net/protocols/Response.javaindex 17680800c..4bca7881d 100644--- a/src/java/org/apache/nutch/net/protocols/Response.java+++ b/src/java/org/apache/nutch/net/protocols/Response.java@@ -25,7 +25,7 @@ import org.apache.nutch.metadata.Metadata;/**- * A response inteface. Makes all protocols model HTTP.+ * A response interface. Makes all protocols model HTTP.*/public interface Response extends HttpHeaders {diff --git a/src/java/org/apache/nutch/net/protocols/package-info.java b/src/java/org/apache/nutch/net/protocols/package-info.javanew file mode 100644index 000000000..0ed5cb25c--- /dev/null+++ b/src/java/org/apache/nutch/net/protocols/package-info.java@@ -0,0 +1,22 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Helper classes related to the {@link org.apache.nutch.protocol.Protocol Protocol}+ * interface, sea also {@link org.apache.nutch.protocol}.+ */+package org.apache.nutch.net.protocols;diff --git a/src/java/org/apache/nutch/parse/package-info.java b/src/java/org/apache/nutch/parse/package-info.javanew file mode 100644index 000000000..16196b9fb--- /dev/null+++ b/src/java/org/apache/nutch/parse/package-info.java@@ -0,0 +1,21 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * The {@link org.apache.nutch.parse.Parse Parse} interface and related classes.+ */+package org.apache.nutch.parse;diff --git a/src/java/org/apache/nutch/protocol/package-info.java b/src/java/org/apache/nutch/protocol/package-info.javanew file mode 100644index 000000000..8804cb77b--- /dev/null+++ b/src/java/org/apache/nutch/protocol/package-info.java@@ -0,0 +1,22 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Classes related to the {@link org.apache.nutch.protocol.Protocol Protocol} interface,+ * see also {@link org.apache.nutch.net.protocols}.+ */+package org.apache.nutch.protocol;diff --git a/src/java/org/apache/nutch/scoring/package-info.java b/src/java/org/apache/nutch/scoring/package-info.javanew file mode 100644index 000000000..a7d74d916--- /dev/null+++ b/src/java/org/apache/nutch/scoring/package-info.java@@ -0,0 +1,21 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * The {@link org.apache.nutch.scoring.ScoringFilter ScoringFilter} interface.+ */+package org.apache.nutch.scoring;diff --git a/src/java/org/apache/nutch/scoring/webgraph/package-info.java b/src/java/org/apache/nutch/scoring/webgraph/package-info.javanew file mode 100644index 000000000..5fd9b175e--- /dev/null+++ b/src/java/org/apache/nutch/scoring/webgraph/package-info.java@@ -0,0 +1,23 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Scoring implementation based on link analysis+ * ({@link org.apache.nutch.scoring.webgraph.LinkRank}),+ * see {@link org.apache.nutch.scoring.webgraph.WebGraph}.+ */+package org.apache.nutch.scoring.webgraph;diff --git a/src/java/org/apache/nutch/segment/package-info.java b/src/java/org/apache/nutch/segment/package-info.javanew file mode 100644index 000000000..da768f1cc--- /dev/null+++ b/src/java/org/apache/nutch/segment/package-info.java@@ -0,0 +1,22 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * A segment stores all data from on generate/fetch/update cycle:+ * fetch list, protocol status, raw content, parsed content, and extracted outgoing links.+ */+package org.apache.nutch.segment;diff --git a/src/java/org/apache/nutch/tools/arc/package-info.java b/src/java/org/apache/nutch/tools/arc/package-info.javanew file mode 100644index 000000000..f069594ae--- /dev/null+++ b/src/java/org/apache/nutch/tools/arc/package-info.java@@ -0,0 +1,22 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Tools to read the+ * <a href="http://archive.org/web/researcher/ArcFileFormat.php">Arc file format</a>.+ */+package org.apache.nutch.tools.arc;diff --git a/src/java/org/apache/nutch/tools/package-info.java b/src/java/org/apache/nutch/tools/package-info.javanew file mode 100644index 000000000..5d2b211c3--- /dev/null+++ b/src/java/org/apache/nutch/tools/package-info.java@@ -0,0 +1,21 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Miscellaneous tools.+ */+package org.apache.nutch.tools;diff --git a/src/java/org/apache/nutch/tools/proxy/package-info.java b/src/java/org/apache/nutch/tools/proxy/package-info.javanew file mode 100644index 000000000..edd2c61fd--- /dev/null+++ b/src/java/org/apache/nutch/tools/proxy/package-info.java@@ -0,0 +1,21 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Proxy to {@link org.apache.nutch.tools.Benchmark benchmark} the crawler.+ */+package org.apache.nutch.tools.proxy;diff --git a/src/java/org/apache/nutch/util/domain/package.html b/src/java/org/apache/nutch/util/domain/package.htmlindex 715c5b2af..49e0e6ab5 100644--- a/src/java/org/apache/nutch/util/domain/package.html+++ b/src/java/org/apache/nutch/util/domain/package.html@@ -1,8 +1,6 @@<html><body>-<h2> org.apache.nutch.util.domain</h2>--<p>This package contains classes for domain analysis.</p>+<h2>Classes for domain name analysis.</h2>for information please refer to following urls :<ul>diff --git a/src/java/org/apache/nutch/util/package-info.java b/src/java/org/apache/nutch/util/package-info.javanew file mode 100644index 000000000..a10390437--- /dev/null+++ b/src/java/org/apache/nutch/util/package-info.java@@ -0,0 +1,21 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Miscellaneous utility classes.+ */+package org.apache.nutch.util;diff --git a/src/java/overview.html b/src/java/overview.htmlindex 4bfb5e115..11321417b 100644--- a/src/java/overview.html+++ b/src/java/overview.html@@ -3,7 +3,7 @@<title>Apache Nutch</title></head><body>-<p>Apache Nutch is an open source web-search software project. </p>+<p>Apache Nutch is a highly extensible and scalable open source web crawler software project.</p><p>Nutch is a project of the Apache Software Foundation and is part of the larger Apache community of developers and users.</p></body></html>diff --git a/src/plugin/feed/src/java/org/apache/nutch/indexer/feed/package-info.java b/src/plugin/feed/src/java/org/apache/nutch/indexer/feed/package-info.javanew file mode 100644index 000000000..f72340a6a--- /dev/null+++ b/src/plugin/feed/src/java/org/apache/nutch/indexer/feed/package-info.java@@ -0,0 +1,21 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Indexing filter to index meta data from RSS feeds.+ */+package org.apache.nutch.indexer.feed;diff --git a/src/plugin/feed/src/java/org/apache/nutch/parse/feed/package-info.java b/src/plugin/feed/src/java/org/apache/nutch/parse/feed/package-info.javanew file mode 100644index 000000000..a9b360369--- /dev/null+++ b/src/plugin/feed/src/java/org/apache/nutch/parse/feed/package-info.java@@ -0,0 +1,21 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Parse RSS feeds.+ */+package org.apache.nutch.parse.feed;diff --git a/src/plugin/headings/src/java/org/apache/nutch/parse/headings/package-info.java b/src/plugin/headings/src/java/org/apache/nutch/parse/headings/package-info.javanew file mode 100644index 000000000..4c073dc9e--- /dev/null+++ b/src/plugin/headings/src/java/org/apache/nutch/parse/headings/package-info.java@@ -0,0 +1,21 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Parse filter to extract headings (h1, h2, etc.) from DOM parse tree.+ */+package org.apache.nutch.parse.headings;diff --git a/src/plugin/index-basic/src/java/org/apache/nutch/indexer/basic/package.html b/src/plugin/index-basic/src/java/org/apache/nutch/indexer/basic/package.htmlindex 524d17e25..3fae4055a 100644--- a/src/plugin/index-basic/src/java/org/apache/nutch/indexer/basic/package.html+++ b/src/plugin/index-basic/src/java/org/apache/nutch/indexer/basic/package.html@@ -1,5 +1,5 @@<html><body>-<p>A basic indexing plugin.</p><p></p>+<p>A basic indexing plugin, adds basic fields: url, host, title, content, etc.</p><p></p></body></html>diff --git a/src/plugin/index-metadata/src/java/org/apache/nutch/indexer/metadata/package-info.java b/src/plugin/index-metadata/src/java/org/apache/nutch/indexer/metadata/package-info.javanew file mode 100644index 000000000..d17700180--- /dev/null+++ b/src/plugin/index-metadata/src/java/org/apache/nutch/indexer/metadata/package-info.java@@ -0,0 +1,22 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Indexing filter to add document metadata to the index.+ * Metadata may come from CrawlDb, parse or content metadata.+ */+package org.apache.nutch.indexer.metadata;diff --git a/src/plugin/index-more/src/java/org/apache/nutch/indexer/more/package.html b/src/plugin/index-more/src/java/org/apache/nutch/indexer/more/package.htmlindex 9ae5f6dd3..7b8fade0b 100644--- a/src/plugin/index-more/src/java/org/apache/nutch/indexer/more/package.html+++ b/src/plugin/index-more/src/java/org/apache/nutch/indexer/more/package.html@@ -1,5 +1,6 @@<html><body>-<p>A more indexing plugin.</p><p></p>+<p>A more indexing plugin, adds "more" index fields:+last modified date, MIME type, content length.</p><p></p></body></html>diff --git a/src/plugin/indexer-dummy/src/java/org/apache/nutch/indexwriter/dummy/package-info.java b/src/plugin/indexer-dummy/src/java/org/apache/nutch/indexwriter/dummy/package-info.javanew file mode 100644index 000000000..181b1861c--- /dev/null+++ b/src/plugin/indexer-dummy/src/java/org/apache/nutch/indexwriter/dummy/package-info.java@@ -0,0 +1,22 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Index writer plugin for debugging, writes pairs of <action, url> to a+ * text file, action is one of "add", "update", or "delete".+ */+package org.apache.nutch.indexwriter.dummy;diff --git a/src/plugin/indexer-elastic/src/java/org/apache/nutch/indexwriter/elastic/package-info.java b/src/plugin/indexer-elastic/src/java/org/apache/nutch/indexwriter/elastic/package-info.javanew file mode 100644index 000000000..c86c2f1e8--- /dev/null+++ b/src/plugin/indexer-elastic/src/java/org/apache/nutch/indexwriter/elastic/package-info.java@@ -0,0 +1,21 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Index writer plugin for <a href="http://www.elasticsearch.org/">Elasticsearch</a>.+ */+package org.apache.nutch.indexwriter.elastic;diff --git a/src/plugin/indexer-solr/src/java/org/apache/nutch/indexwriter/solr/package-info.java b/src/plugin/indexer-solr/src/java/org/apache/nutch/indexwriter/solr/package-info.javanew file mode 100644index 000000000..2cebf7cd5--- /dev/null+++ b/src/plugin/indexer-solr/src/java/org/apache/nutch/indexwriter/solr/package-info.java@@ -0,0 +1,21 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Index writer plugin for <a href="http://lucene.apache.org/solr/">Apache Solr</a>.+ */+package org.apache.nutch.indexwriter.solr;diff --git a/src/plugin/lib-regex-filter/src/java/org/apache/nutch/urlfilter/api/package-info.java b/src/plugin/lib-regex-filter/src/java/org/apache/nutch/urlfilter/api/package-info.javanew file mode 100644index 000000000..b84935306--- /dev/null+++ b/src/plugin/lib-regex-filter/src/java/org/apache/nutch/urlfilter/api/package-info.java@@ -0,0 +1,23 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Generic {@link org.apache.nutch.net.URLFilter URL filter} library,+ * abstracting away from regular expression implementations.+ */+package org.apache.nutch.urlfilter.api;+diff --git a/src/plugin/parse-ext/src/java/org/apache/nutch/parse/ext/package-info.java b/src/plugin/parse-ext/src/java/org/apache/nutch/parse/ext/package-info.javanew file mode 100644index 000000000..04cf2d296--- /dev/null+++ b/src/plugin/parse-ext/src/java/org/apache/nutch/parse/ext/package-info.java@@ -0,0 +1,21 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Parse wrapper to run external command to do the parsing.+ */+package org.apache.nutch.parse.ext;diff --git a/src/plugin/parse-js/src/java/org/apache/nutch/package.html b/src/plugin/parse-js/src/java/org/apache/nutch/package.htmldeleted file mode 100644index 7dffe62bc..000000000--- a/src/plugin/parse-js/src/java/org/apache/nutch/package.html+++ /dev/null@@ -1,6 +0,0 @@-<html>-<body>-<p>A parser plugin and content filter to extract all (possible) links-from JavaScript files and code snippets.</p>-</body>-</html>diff --git a/src/plugin/parse-js/src/java/org/apache/nutch/parse/js/package-info.java b/src/plugin/parse-js/src/java/org/apache/nutch/parse/js/package-info.javanew file mode 100644index 000000000..3f5ce526c--- /dev/null+++ b/src/plugin/parse-js/src/java/org/apache/nutch/parse/js/package-info.java@@ -0,0 +1,22 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Parser and parse filter plugin to extract all (possible) links+ * from JavaScript files and embedded JavaScript code snippets.+ */+package org.apache.nutch.parse.js;diff --git a/src/plugin/parse-metatags/plugin.xml b/src/plugin/parse-metatags/plugin.xmlindex b6516220e..07933fa8d 100644--- a/src/plugin/parse-metatags/plugin.xml+++ b/src/plugin/parse-metatags/plugin.xml@@ -15,7 +15,7 @@name="MetaTags Parser"point="org.apache.nutch.parse.HtmlParseFilter"><implementation id="MetaTagsParser"- class="org.apache.nutch.parse.MetaTagsParser"/>+ class="org.apache.nutch.parse.metatags.MetaTagsParser"/></extension></plugin>diff --git a/src/plugin/parse-metatags/src/java/org/apache/nutch/parse/MetaTagsParser.java b/src/plugin/parse-metatags/src/java/org/apache/nutch/parse/metatags/MetaTagsParser.javasimilarity index 91%rename from src/plugin/parse-metatags/src/java/org/apache/nutch/parse/MetaTagsParser.javarename to src/plugin/parse-metatags/src/java/org/apache/nutch/parse/metatags/MetaTagsParser.javaindex 1bf8e1e54..7dc055de4 100644--- a/src/plugin/parse-metatags/src/java/org/apache/nutch/parse/MetaTagsParser.java+++ b/src/plugin/parse-metatags/src/java/org/apache/nutch/parse/metatags/MetaTagsParser.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.nutch.parse;+package org.apache.nutch.parse.metatags;import java.util.Enumeration;import java.util.HashSet;@@ -25,14 +25,18 @@ import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;import org.apache.hadoop.conf.Configuration;import org.apache.nutch.metadata.Metadata;+import org.apache.nutch.parse.HTMLMetaTags;+import org.apache.nutch.parse.HtmlParseFilter;+import org.apache.nutch.parse.Parse;+import org.apache.nutch.parse.ParseResult;import org.apache.nutch.protocol.Content;import org.w3c.dom.DocumentFragment;-/**- * Parse HTML meta tags (keywords, description) and store them in the parse metadata so that- * they can be indexed with the index-metadata plugin with the prefix 'metatag.'- ***/-+/**+ * Parse HTML meta tags (keywords, description) and store them in the parse+ * metadata so that they can be indexed with the index-metadata plugin with the+ * prefix 'metatag.'+ */public class MetaTagsParser implements HtmlParseFilter {private static final Log LOG = LogFactory.getLog(MetaTagsParser.classdiff --git a/src/plugin/parse-metatags/src/java/org/apache/nutch/parse/metatags/package-info.java b/src/plugin/parse-metatags/src/java/org/apache/nutch/parse/metatags/package-info.javanew file mode 100644index 000000000..51c24b9b9--- /dev/null+++ b/src/plugin/parse-metatags/src/java/org/apache/nutch/parse/metatags/package-info.java@@ -0,0 +1,23 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Parse filter to extract meta tags: keywords, description, etc.+ * Used in combination with index-metadata plugin+ * (see {@link org.apache.nutch.indexer.metadata}).+ */+package org.apache.nutch.parse.metatags;diff --git a/src/plugin/parse-metatags/src/test/org/apache/nutch/parse/html/TestMetatagParser.java b/src/plugin/parse-metatags/src/test/org/apache/nutch/parse/metatags/TestMetatagParser.javasimilarity index 98%rename from src/plugin/parse-metatags/src/test/org/apache/nutch/parse/html/TestMetatagParser.javarename to src/plugin/parse-metatags/src/test/org/apache/nutch/parse/metatags/TestMetatagParser.javaindex 24e935b17..ae999c75e 100644--- a/src/plugin/parse-metatags/src/test/org/apache/nutch/parse/html/TestMetatagParser.java+++ b/src/plugin/parse-metatags/src/test/org/apache/nutch/parse/metatags/TestMetatagParser.java@@ -15,7 +15,7 @@* limitations under the License.*/-package org.apache.nutch.parse.html;+package org.apache.nutch.parse.metatags;import java.util.Set;import java.util.TreeSet;diff --git a/src/plugin/parse-swf/src/java/org/apache/nutch/parse/swf/package-info.java b/src/plugin/parse-swf/src/java/org/apache/nutch/parse/swf/package-info.javanew file mode 100644index 000000000..c020f03b2--- /dev/null+++ b/src/plugin/parse-swf/src/java/org/apache/nutch/parse/swf/package-info.java@@ -0,0 +1,21 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Parse Flash SWF files.+ */+package org.apache.nutch.parse.swf;diff --git a/src/plugin/parse-tika/src/java/org/apache/nutch/parse/tika/package-info.java b/src/plugin/parse-tika/src/java/org/apache/nutch/parse/tika/package-info.javanew file mode 100644index 000000000..25ebc164a--- /dev/null+++ b/src/plugin/parse-tika/src/java/org/apache/nutch/parse/tika/package-info.java@@ -0,0 +1,22 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Parse various document formats with help of+ * <a href="http://tika.apache.org/">Apache Tika</a>.+ */+package org.apache.nutch.parse.tika;diff --git a/src/plugin/parse-zip/src/java/org/apache/nutch/parse/zip/package-info.java b/src/plugin/parse-zip/src/java/org/apache/nutch/parse/zip/package-info.javanew file mode 100644index 000000000..becff50b5--- /dev/null+++ b/src/plugin/parse-zip/src/java/org/apache/nutch/parse/zip/package-info.java@@ -0,0 +1,21 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Parse ZIP files: embedded files are recursively passed to appropriate parsers.+ */+package org.apache.nutch.parse.zip;diff --git a/src/plugin/scoring-depth/src/java/org/apache/nutch/scoring/depth/DepthScoringFilter.java b/src/plugin/scoring-depth/src/java/org/apache/nutch/scoring/depth/DepthScoringFilter.javaindex 07d1dc594..1cb09fd7b 100644--- a/src/plugin/scoring-depth/src/java/org/apache/nutch/scoring/depth/DepthScoringFilter.java+++ b/src/plugin/scoring-depth/src/java/org/apache/nutch/scoring/depth/DepthScoringFilter.java@@ -22,7 +22,7 @@ import org.apache.nutch.scoring.ScoringFilterException;/*** This scoring filter limits the number of hops from the initial seed urls. If- * the numbe of hops exceeds the depth (either the default value, or the one+ * the number of hops exceeds the depth (either the default value, or the one* set in the injector file) then all outlinks from that url are discarded,* effectively stopping further crawling along this path.*/diff --git a/src/plugin/scoring-depth/src/java/org/apache/nutch/scoring/depth/package-info.java b/src/plugin/scoring-depth/src/java/org/apache/nutch/scoring/depth/package-info.javanew file mode 100644index 000000000..c6c58aaab--- /dev/null+++ b/src/plugin/scoring-depth/src/java/org/apache/nutch/scoring/depth/package-info.java@@ -0,0 +1,22 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Scoring filter to stop crawling at a configurable depth+ * (number of "hops" from seed URLs).+ */+package org.apache.nutch.scoring.depth;diff --git a/src/plugin/scoring-link/src/java/org/apache/nutch/scoring/link/package-info.java b/src/plugin/scoring-link/src/java/org/apache/nutch/scoring/link/package-info.javanew file mode 100644index 000000000..3931a58df--- /dev/null+++ b/src/plugin/scoring-link/src/java/org/apache/nutch/scoring/link/package-info.java@@ -0,0 +1,22 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Scoring filter used in conjunction with+ * {@link org.apache.nutch.scoring.webgraph.WebGraph}.+ */+package org.apache.nutch.scoring.link;diff --git a/src/plugin/scoring-opic/src/java/org/apache/nutch/scoring/opic/package-info.java b/src/plugin/scoring-opic/src/java/org/apache/nutch/scoring/opic/package-info.javanew file mode 100644index 000000000..49c325df7--- /dev/null+++ b/src/plugin/scoring-opic/src/java/org/apache/nutch/scoring/opic/package-info.java@@ -0,0 +1,22 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Scoring filter implementing a variant of the Online Page Importance Computation+ * (OPIC) algorithm.+ */+package org.apache.nutch.scoring.opic;diff --git a/src/plugin/subcollection/src/java/org/apache/nutch/indexer/subcollection/package-info.java b/src/plugin/subcollection/src/java/org/apache/nutch/indexer/subcollection/package-info.javanew file mode 100644index 000000000..277aed3e5--- /dev/null+++ b/src/plugin/subcollection/src/java/org/apache/nutch/indexer/subcollection/package-info.java@@ -0,0 +1,24 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Indexing filter to assign documents to subcollections.+ * The field "subcollection" is added and filled with a collection name+ * defined in a configuration file and selected by pattern, see+ * {@link org.apache.nutch.collection}.+ */+package org.apache.nutch.indexer.subcollection;diff --git a/src/plugin/urlfilter-automaton/src/java/org/apache/nutch/urlfilter/automaton/package.html b/src/plugin/urlfilter-automaton/src/java/org/apache/nutch/urlfilter/automaton/package.htmlindex ae9b64339..42533f75e 100644--- a/src/plugin/urlfilter-automaton/src/java/org/apache/nutch/urlfilter/automaton/package.html+++ b/src/plugin/urlfilter-automaton/src/java/org/apache/nutch/urlfilter/automaton/package.html@@ -1,7 +1,7 @@<html><body><p>-A url filter plugin based on+URL filter plugin based on<a href="http://www.brics.dk/automaton/">dk.brics.automaton</a> Finite-StateAutomata for Java<sup>TM</sup>.</p>diff --git a/src/plugin/urlfilter-domain/src/java/org/apache/nutch/urlfilter/domain/package-info.java b/src/plugin/urlfilter-domain/src/java/org/apache/nutch/urlfilter/domain/package-info.javanew file mode 100644index 000000000..d2eba1f76--- /dev/null+++ b/src/plugin/urlfilter-domain/src/java/org/apache/nutch/urlfilter/domain/package-info.java@@ -0,0 +1,25 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * URL filter plugin to include only URLs which match an element in a given list of+ * domain suffixes, domain names, and/or host names.+ * See {@link org.apache.nutch.urlfilter.domainblacklist} for the counterpart+ * (exclude URLs by host or domain).+ */+package org.apache.nutch.urlfilter.domain;+diff --git a/src/plugin/urlfilter-domain/src/java/org/apache/nutch/urlfilter/domain/package.html b/src/plugin/urlfilter-domain/src/java/org/apache/nutch/urlfilter/domain/package.htmldeleted file mode 100644index d4277544a..000000000--- a/src/plugin/urlfilter-domain/src/java/org/apache/nutch/urlfilter/domain/package.html+++ /dev/null@@ -1,5 +0,0 @@-<html>-<body>-<p>A url filter plugin that filters by domain.</p><p></p>-</body>-</html>diff --git a/src/plugin/urlfilter-domainblacklist/src/java/org/apache/nutch/urlfilter/domainblacklist/package-info.java b/src/plugin/urlfilter-domainblacklist/src/java/org/apache/nutch/urlfilter/domainblacklist/package-info.javanew file mode 100644index 000000000..1f0022c57--- /dev/null+++ b/src/plugin/urlfilter-domainblacklist/src/java/org/apache/nutch/urlfilter/domainblacklist/package-info.java@@ -0,0 +1,24 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * URL filter plugin to exclude URLs by domain suffixes, domain names, and/or host names.+ * See {@link org.apache.nutch.urlfilter.domain} for the counterpart (include only URLs+ * matching host or domain).+ */+package org.apache.nutch.urlfilter.domainblacklist;+diff --git a/src/plugin/urlfilter-prefix/src/java/org/apache/nutch/urlfilter/prefix/package.html b/src/plugin/urlfilter-prefix/src/java/org/apache/nutch/urlfilter/prefix/package.htmlindex ca336b5f6..dbed0be5b 100644--- a/src/plugin/urlfilter-prefix/src/java/org/apache/nutch/urlfilter/prefix/package.html+++ b/src/plugin/urlfilter-prefix/src/java/org/apache/nutch/urlfilter/prefix/package.html@@ -1,5 +1,5 @@<html><body>-<p>A url filter plugin.</p><p></p>+<p>URL filter plugin to include only URLs which match one of a given list of URL prefixes.</p></body></html>diff --git a/src/plugin/urlfilter-regex/src/java/org/apache/nutch/urlfilter/regex/package.html b/src/plugin/urlfilter-regex/src/java/org/apache/nutch/urlfilter/regex/package.htmlindex ca336b5f6..7acf73ba1 100644--- a/src/plugin/urlfilter-regex/src/java/org/apache/nutch/urlfilter/regex/package.html+++ b/src/plugin/urlfilter-regex/src/java/org/apache/nutch/urlfilter/regex/package.html@@ -1,5 +1,5 @@<html><body>-<p>A url filter plugin.</p><p></p>+<p>URL filter plugin to include and/or exclude URLs matching Java regular expressions.</p></body></html>diff --git a/src/plugin/urlfilter-suffix/src/java/org/apache/nutch/urlfilter/suffix/package-info.java b/src/plugin/urlfilter-suffix/src/java/org/apache/nutch/urlfilter/suffix/package-info.javanew file mode 100644index 000000000..0449accdd--- /dev/null+++ b/src/plugin/urlfilter-suffix/src/java/org/apache/nutch/urlfilter/suffix/package-info.java@@ -0,0 +1,23 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * URL filter plugin to either exclude or include only URLs which match+ * one of the given (path) suffixes.+ */+package org.apache.nutch.urlfilter.suffix;+diff --git a/src/plugin/urlfilter-validator/src/java/org/apache/nutch/urlfilter/validator/package.html b/src/plugin/urlfilter-validator/src/java/org/apache/nutch/urlfilter/validator/package.htmlindex 845696fc7..b5ec8a1c7 100644--- a/src/plugin/urlfilter-validator/src/java/org/apache/nutch/urlfilter/validator/package.html+++ b/src/plugin/urlfilter-validator/src/java/org/apache/nutch/urlfilter/validator/package.html@@ -1,6 +1,6 @@<html><body>-<p>A url filter plugin that validates given urls.</p>+<p>URL filter plugin that validates given urls.</p><p>This plugin runs a series of tests for the given url to make sure that givenurl is valid and 'fetchable'.</p><p>Note: This plugin should <b>only</b> be used for web-related protocols suchdiff --git a/src/plugin/urlnormalizer-basic/src/java/org/apache/nutch/net/urlnormalizer/basic/BasicURLNormalizer.java b/src/plugin/urlnormalizer-basic/src/java/org/apache/nutch/net/urlnormalizer/basic/BasicURLNormalizer.javaindex 8d151bd95..09f1ebe25 100644--- a/src/plugin/urlnormalizer-basic/src/java/org/apache/nutch/net/urlnormalizer/basic/BasicURLNormalizer.java+++ b/src/plugin/urlnormalizer-basic/src/java/org/apache/nutch/net/urlnormalizer/basic/BasicURLNormalizer.java@@ -31,7 +31,13 @@ import org.apache.hadoop.conf.Configuration;import org.apache.hadoop.conf.Configured;import org.apache.oro.text.regex.*;-/** Converts URLs to a normal form . */+/**+ * Converts URLs to a normal form:+ * <ul>+ * <li>remove dot segments in path: <code>/./</code> or <code>/../</code></li>+ * <li>remove default ports, e.g. 80 for protocol <code>http://</code></li>+ * </ul>+ */public class BasicURLNormalizer extends Configured implements URLNormalizer {public static final Logger LOG = LoggerFactory.getLogger(BasicURLNormalizer.class);diff --git a/src/plugin/urlnormalizer-basic/src/java/org/apache/nutch/net/urlnormalizer/basic/package-info.java b/src/plugin/urlnormalizer-basic/src/java/org/apache/nutch/net/urlnormalizer/basic/package-info.javanew file mode 100644index 000000000..0a26b5fd9--- /dev/null+++ b/src/plugin/urlnormalizer-basic/src/java/org/apache/nutch/net/urlnormalizer/basic/package-info.java@@ -0,0 +1,22 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * URL normalizer performing basic normalizations: remove default ports+ * and dot segments in path.+ */+package org.apache.nutch.net.urlnormalizer.basic;diff --git a/src/plugin/urlnormalizer-host/src/java/org/apache/nutch/net/urlnormalizer/host/package-info.java b/src/plugin/urlnormalizer-host/src/java/org/apache/nutch/net/urlnormalizer/host/package-info.javanew file mode 100644index 000000000..43cb8e399--- /dev/null+++ b/src/plugin/urlnormalizer-host/src/java/org/apache/nutch/net/urlnormalizer/host/package-info.java@@ -0,0 +1,22 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * URL normalizer renaming hosts to a canonical form listed in the+ * configuration file.+ */+package org.apache.nutch.net.urlnormalizer.host;diff --git a/src/plugin/urlnormalizer-pass/src/java/org/apache/nutch/net/urlnormalizer/pass/package-info.java b/src/plugin/urlnormalizer-pass/src/java/org/apache/nutch/net/urlnormalizer/pass/package-info.javanew file mode 100644index 000000000..e954339ff--- /dev/null+++ b/src/plugin/urlnormalizer-pass/src/java/org/apache/nutch/net/urlnormalizer/pass/package-info.java@@ -0,0 +1,22 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * URL normalizer dummy which does not change URLs. Required because at least+ * one URL normalizer must be defined in any scope.+ */+package org.apache.nutch.net.urlnormalizer.pass;diff --git a/src/plugin/urlnormalizer-querystring/src/java/org/apache/nutch/net/urlnormalizer/querystring/package-info.java b/src/plugin/urlnormalizer-querystring/src/java/org/apache/nutch/net/urlnormalizer/querystring/package-info.javanew file mode 100644index 000000000..c125ccb46--- /dev/null+++ b/src/plugin/urlnormalizer-querystring/src/java/org/apache/nutch/net/urlnormalizer/querystring/package-info.java@@ -0,0 +1,22 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * URL normalizer which sort the elements in the query part to avoid duplicates+ * by permutations.+ */+package org.apache.nutch.net.urlnormalizer.querystring;diff --git a/src/plugin/urlnormalizer-regex/src/java/org/apache/nutch/net/urlnormalizer/regex/package-info.java b/src/plugin/urlnormalizer-regex/src/java/org/apache/nutch/net/urlnormalizer/regex/package-info.javanew file mode 100644index 000000000..4a9c297a6--- /dev/null+++ b/src/plugin/urlnormalizer-regex/src/java/org/apache/nutch/net/urlnormalizer/regex/package-info.java@@ -0,0 +1,22 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * URL normalizer with configurable rules based on regular expressions+ * ({@link java.util.regex.Pattern}).+ */+package org.apache.nutch.net.urlnormalizer.regex;