Apache Nutch is an extensible and scalable web crawler
Upgrade to Lucene 2.2.0 and Hadoop 0.12.3.
Andrzej Bialecki5de25972c771
diff --git a/CHANGES.txt b/CHANGES.txtindex 9adc00df5..3452f392d 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -57,6 +57,8 @@ Unreleased changes (1.0-dev)17. NUTCH-471 - Fix synchronization in NutchBean creation.(Enis Soztutar via dogacan)+18. Upgrade to Lucene 2.2.0 and Hadoop 0.12.3. (ab)+Release 0.9 - 2007-04-021. Changed log4j confiquration to log to stdout on commandlinediff --git a/lib/hadoop-0.12.2-core.jar b/lib/hadoop-0.12.3-core.jarold mode 100644new mode 100755similarity index 86%rename from lib/hadoop-0.12.2-core.jarrename to lib/hadoop-0.12.3-core.jarindex 1c8b64b7c..53264d78bBinary files a/lib/hadoop-0.12.2-core.jar and b/lib/hadoop-0.12.3-core.jar differdiff --git a/lib/lucene-core-2.1.0.jar b/lib/lucene-core-2.1.0.jardeleted file mode 100644index 6660095dc..000000000Binary files a/lib/lucene-core-2.1.0.jar and /dev/null differdiff --git a/lib/lucene-core-2.2.0.jar b/lib/lucene-core-2.2.0.jarnew file mode 100755index 000000000..2469481c3Binary files /dev/null and b/lib/lucene-core-2.2.0.jar differdiff --git a/lib/lucene-misc-2.1.0.jar b/lib/lucene-misc-2.1.0.jardeleted file mode 100644index 0fa03c6f6..000000000Binary files a/lib/lucene-misc-2.1.0.jar and /dev/null differdiff --git a/lib/lucene-misc-2.2.0.jar b/lib/lucene-misc-2.2.0.jarnew file mode 100755index 000000000..1fcfe981cBinary files /dev/null and b/lib/lucene-misc-2.2.0.jar differdiff --git a/lib/native/Linux-i386-32/libhadoop.a b/lib/native/Linux-i386-32/libhadoop.aindex e7a7ec2c2..e14ebeb09 100644Binary files a/lib/native/Linux-i386-32/libhadoop.a and b/lib/native/Linux-i386-32/libhadoop.a differdiff --git a/src/java/org/apache/nutch/indexer/FsDirectory.java b/src/java/org/apache/nutch/indexer/FsDirectory.javaindex 6263be30a..dcaa461f1 100644--- a/src/java/org/apache/nutch/indexer/FsDirectory.java+++ b/src/java/org/apache/nutch/indexer/FsDirectory.java@@ -219,8 +219,8 @@ public class FsDirectory extends Directory {out = fs.create(path);}- public void flushBuffer(byte[] b, int size) throws IOException {- out.write(b, 0, size);+ public void flushBuffer(byte[] b, int offset, int size) throws IOException {+ out.write(b, offset, size);}public void close() throws IOException {diff --git a/src/java/org/apache/nutch/indexer/IndexSorter.java b/src/java/org/apache/nutch/indexer/IndexSorter.javaindex f1431c956..ad6a62920 100644--- a/src/java/org/apache/nutch/indexer/IndexSorter.java+++ b/src/java/org/apache/nutch/indexer/IndexSorter.java@@ -145,6 +145,18 @@ public class IndexSorter extends ToolBase {throw new UnsupportedOperationException();}+ public byte[] getPayload(byte[] data, int offset) throws IOException {+ return null;+ }++ public int getPayloadLength() {+ return 0;+ }++ public boolean isPayloadAvailable() {+ return false;+ }+public void close() throws IOException {original.close();}diff --git a/src/plugin/lib-lucene-analyzers/lib/lucene-analyzers-2.1.0.jar b/src/plugin/lib-lucene-analyzers/lib/lucene-analyzers-2.1.0.jardeleted file mode 100644index 60b9a6d1e..000000000Binary files a/src/plugin/lib-lucene-analyzers/lib/lucene-analyzers-2.1.0.jar and /dev/null differdiff --git a/src/plugin/lib-lucene-analyzers/lib/lucene-analyzers-2.2.0.jar b/src/plugin/lib-lucene-analyzers/lib/lucene-analyzers-2.2.0.jarnew file mode 100755index 000000000..7e37b7319Binary files /dev/null and b/src/plugin/lib-lucene-analyzers/lib/lucene-analyzers-2.2.0.jar differdiff --git a/src/plugin/summary-lucene/lib/lucene-highlighter-2.1.0.jar b/src/plugin/summary-lucene/lib/lucene-highlighter-2.1.0.jardeleted file mode 100644index bc034c2c0..000000000Binary files a/src/plugin/summary-lucene/lib/lucene-highlighter-2.1.0.jar and /dev/null differdiff --git a/src/plugin/summary-lucene/lib/lucene-highlighter-2.2.0.jar b/src/plugin/summary-lucene/lib/lucene-highlighter-2.2.0.jarnew file mode 100755index 000000000..c91579e65Binary files /dev/null and b/src/plugin/summary-lucene/lib/lucene-highlighter-2.2.0.jar differ